Professional Documents
Culture Documents
Lab Report 5
Shaheer Ahmed Qureshi
Pakistan Institute of Engineering And Applied Science
Department of Electrical Engineering
COURSE INSTRUCTOR: Dr Arif Gilgiti
LAB INSTRUCTOR: Sir Bilal Nadeem
C. Results
IV. TASK 2
A. Statement Fig. 4. Results of Task 2
b. Assume a step-up transformer with a turn ratio of 1:10
and a step-down transformer with a turn ratio of 10:1 are
installed at the generator and load ends of the line, respectively V. TASK 3
(See Figure 1.2). Calculate the load voltage and transmission A. Statement
line losses for the new setup using MATLAB code. Define the basic amounts for each part of Figure 1.2 and
sketch the equivalent circuit per unit. Calculate load voltage
and line losses using MATLAB code.
B. MATLAB Code
Zload = input(’Load impedance = ’);
Zline = input(’Line impedance = ’);
T1 = input(’Turns ratio of step-up transformer: ’);
T2 = input(’Turns ratio of step-down transformer: ’);
Vg = input(’Generator voltage = ’);
VB = input(’Base voltage u want to select: ’);
SB = input(’Base apparent power u want to select: ’);
Fig. 3. Task 2 Circuit Diagram
Vpu = Vg/VB;
VB1 = VB/T1;
B. MATLAB Code ZB1 = (VB1)2 /SB;
v=480; V B2 = V B1/T 2;
zl ine = 0.18 + 1i ∗ 0.24; ZB2 = (V B2)2 /SB;
zl oad = 4 + 1i ∗ 3; Zpu1 = Zline/ZB1;
Rl ine = 0.18; Zpu2 = Zload/ZB2;
z = zl ine + zl oad; V Lpu = (Zpu2/(Zpu1 + Zpu2)) ∗ V pu;
Il ine = v/z; V L = V Lpu ∗ V B2;
magni = abs(Il ine); V Load = abs(V L);
vl oad = Il ine ∗ zl oad; theetav = atand(imag(V Load)/real(V Load));
pl oss = magni ∗ magni ∗ Rl ine; ILpu = V pu/(Zpu1 + Zpu2);
a = 10/1; ILpU = abs(ILpu);
zl oadn ew = a ∗ a ∗ zl oad; SLpu = ILpU 2 ∗ Zpu1;
ze q = zl ine + zl oadn ew; SL = SLpu ∗ SB;
ze qn ew = (1/a) ∗ (1/a) ∗ ze q; P L = real(SL);
ig = v/ze qn ew; QL = imag(SL);
disp([′ GeneratorCurrent =′ , num2str(ig)]); f printf (′′ );
np1 = 1; disp([′ loadvoltage =′ , num2str(V Load), sprintf (′ 2220′ ),
ns1 = 10; num2str(theetav), char(176)]);
Il inen ew = (np1/ns1) ∗ ig; disp([′ Losses =′ , num2str(P L),′ watts′ ]);
disp([′ N ewLineCurrent =′ , num2str(Il inen ew)]);
C. Results
np2 = 10;
ns2 = 1; VI. D ISCUSSION
il oadn ew = (np2/ns2) ∗ Il inen ew; We learned in this lab experiment that electrical power
magnin ew = abs(Il inen ew); is delivered at a high voltage to reduce power losses in
vl oadn ew = il oadn ew ∗ ze qn ew; transmission lines. A transformer is required to step-up the
pl ossn ew = magnin ew ∗ magnin ew ∗ Rl ine; voltage to a higher level because the voltage at the producing
disp([′ LoadV oltage(N ew) =′ , num2str(vl oadn ew)]); side is significantly lower than the voltage at which it is
Fig. 5. Results of Task 3