0% found this document useful (0 votes)
26 views

Matlab File

A double line to ground fault occurs on a 30 MVA, 11 kV generator. The generator has impedances of Z1=Z2=j0.2 pu and Z0=0.05pu. The program calculates the line currents, fault current, and line to neutral voltages under fault conditions by determining the sequence currents and voltages and transforming them to the actual values. It finds the line currents Ib to be 13,172 A and Ic to be 3,262 A, the fault current If to be 258,760 A, and the line to neutral voltage Va to be 2.117 kV, with Vb and Vc equal to 0 kV.

Uploaded by

Gheewala Ankur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Matlab File

A double line to ground fault occurs on a 30 MVA, 11 kV generator. The generator has impedances of Z1=Z2=j0.2 pu and Z0=0.05pu. The program calculates the line currents, fault current, and line to neutral voltages under fault conditions by determining the sequence currents and voltages and transforming them to the actual values. It finds the line currents Ib to be 13,172 A and Ic to be 3,262 A, the fault current If to be 258,760 A, and the line to neutral voltage Va to be 2.117 kV, with Vb and Vc equal to 0 kV.

Uploaded by

Gheewala Ankur
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

PROGRAM

%A double line to ground fault oocurs on the terminals of generator. The


generator is of 30 MVA, 11 Kv,and has Z1=Z2=j0.2 pu and Z0=0.05pu%.
% Determine the line currents,fault current and line to neutral voltages under
fault conditions %
clc;
clear all;
close all;
Z1=j*0.2;
Z2=Z1;
Z0=j*0.05;
Vref=1+j*0;
%Sequence currents can be given as%
%For Ia1%
x=Z1+((Z1*Z0)/(Z1+Z2));
Ia1=Vref/x
%For Ia12%
Ia2=-Ia1*(Z0/(Z0+Z1))
%For Ia0%
Ia0=-j*Ia1*(Z1/(Z0+Z1))
a=-0.5+j*0.866;
a2=-0.5-j*0.866;
A= [1 1 1;1 a2 a; 1 a a2]
B= [Ia0;Ia1;Ia2];
[C]= A*B
%For actual values%
Ia=0;
h=C(2,1);
Ib=abs(h)*1574.6
g=C(3,1);
Ic=abs(g)*1574.6
%Fault current%
If=(Ib+Ic)*1574.6
%Sequence Voltages%
Va1=1-(Ia1)*(Z1);
Va2=Va1;
Va0=Va1;
D=[Va0;Va1;Va2];
%Line to Neutral Voltages%
E=A;
F=E*D
Va=(11/sqrt(3))*F(1,1)
Vb=0
Vc=0
%THE END%

OUTPUT

Ia1 =

0 - 4.4444i

Ia2 =

0 + 0.8889i

Ia0 =

-3.5556

A=

1.0000

1.0000

1.0000

1.0000

-0.5000 - 0.8660i -0.5000 + 0.8660i

1.0000

-0.5000 + 0.8660i -0.5000 - 0.8660i

C=

-3.5556 - 3.5556i
-8.1742 + 1.7778i
1.0631 + 1.7778i

Ib =

1.3172e+04

Ic =

3.2616e+03

If =

2.5876e+07

F=

0.3333
0
0

Va =

2.1170

Vb =

Vc =

>>

You might also like