Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
(You MUST Do The theoretical calculation in the Laboratory . So prepare and come )
ALGORITHM:
1. For the given power system network, Calculate the Zero, Positive, Negative Sequence impedences
manually by the specified procedure.
2. Start the Program and read the Data required for performing short circuit analysis.
3. Calculate the sequence current using the formula
PROGRAM:
#include<stdio.h>
#include<conio.h>
#include<complex.h>
#include<math.h>
void main()
{
floatVbase, Ibase, sb;
float x0eq, x1eq,x2eq,Ia0,Ia1,Ia2,If,Ifact;
clrscr();
int E=1;
complex Va1,Va2,Va0,Va,Vb,Vc,a,a2;
printf("\n Enter Base values of power in MVA and voltage in KV\n ");
scanf("%f%f",&sb,&Vbase);
printf("\nEnter X0eq,X1eq,X2eq Values \n");
scanf("%f%f%f",&x0eq,&x1eq,&x2eq);
Ia1=E/(x0eq+x1eq+x2eq);
Ia2=Ia1;
Ia0=Ia1;
If=3*Ia0;
Ibase=(sb*1000)/(1.732*Vbase);
Ifact=If*Ibase;
printf("\nThe fault current value is %fA\n",Ifact);
Va1=E-Ia1*x1eq;
Va2=-Ia2*x2eq;
Va0=-Ia1*x0eq;
a=complex(-0.5,0.866);
a2=complex(-0.5,-0.866);
Va=Va0+Va1+Va2;
Vb=Va0+a2*Va1+a*Va2;
Vc=Va0+a*Va1+a2*Va2;
printf("\n The fault Voltages \n
Va=%f+%fj\nVb=%f+%fj\nVc=%f+%fj\n",real(Va),imag(Va),real(Vb),imag(Vb),real(Vc),imag(Vc));
getch();
}
-------X--------OUTPUT:
Enter Base values of power in MVA and voltage in KV
30 120
Enter X0eq,X1eq,X2eq Values
0.067 0.146 0.146
The fault current value is 1206.198975A
The fault Voltages
Va=0.000000+0.000000j
Vb=-0.279944+-0.866000j
Vc=-0.279944+0.866000j