Professional Documents
Culture Documents
LABORATORY REPORT
TOPIC: COMPUTATION OF REAL AND REACTIVE
POWER IN SINGLE PHASE SYSTEM
EXPERIMENT 1
DATE: 17.07.2018
HARISH S 107116034
HARINAATHGOBI C 107116032
PROBLEM STATEMENT:
MATLAB CODES:
1. INSTANTANEOUS POWER DRAWN BY RESISTIVE
LOADS
time = [0:0.1:100]
v = 10*1.414*cos(314.*time)
R=5
X=5i
impser=R+X
a = real(impser)
b = imag(impser)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
v_mag = 10
v_r = v_mag*R/mag
v_r_net = v_r.*cos(314.*time - ang)
i_mag = v_mag/mag
i_net = i_mag.*cos(314.*time-ang)
power2 = v_r_net.*i_net
hold on
plot(time,power2)
xlabel('Time(s)');
ylabel('Instantaneous Power (W)');
title('Instantaneous Power vs Time');
imppar = R*X/(R+X)
a = real(imppar)
b = imag(imppar)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
i_mag = v_mag/mag
i_r_mag = (i_mag*X)/(R+X)
angle = atan(imag(i_r_mag)/real(i_r_mag))
power2 = v.*i_net
plot(time,power2)
xlabel('Time(s)');
ylabel('Instantaneous Power (Resistor) (W)');
title('Instantaneous Power (Resistor) vs Time');
legend('Series','Parallel');
hold off
a = real(impser)
b = imag(impser)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
v_mag = 10
i_mag = v_mag/mag
i_net = i_mag*cos(314.*time-ang)
power2 = v.*i_net
hold on
plot(time,power2)
xlabel('Time(s)');
ylabel('Instantaneous Power (W)');
title('Instantaneous Power vs Time');
imppar = R*X/(R+X)
a = real(imppar)
b = imag(imppar)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
i_mag = v_mag/mag
i_net = i_mag*cos(314.*time-ang)
power2 = v.*i_net
plot(time,power2)
xlabel('Time(s)');
ylabel('Instantaneous Power (Source) (W)');
title('Instantaneous Power (Source) vs Time');
legend('Series','Parallel');
hold off
3. REAL POWER COMSUMPTION
time = [0:0.1:100]
v = 10*1.414*cos(314.*time)
R=5
X=5i
imppar = R*X/(R+X)
a = real(imppar)
b = imag(imppar)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
v_mag = 10
i_mag = v_mag/mag
i_r_mag = (i_mag*X)/(R+X)
angle = atan(imag(i_r_mag)/real(i_r_mag))
i_net = i_mag*cos(314.*time-ang + angle)
impser=R+X
a = real(impser)
b = imag(impser)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
v_mag = 10
v_r = v_mag*R/mag
v_r_net = v_r.*cos(314.*time - ang)
i_mag = v_mag/mag
i_net = i_mag.*cos(314.*time-ang)
time = [0:0.1:100]
v = 10*1.414*cos(314.*time)
R=5
X=5i
impser=R+X
a = real(impser)
b = imag(impser)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
pf = cos(ang)
imppar = R*X/(R+X)
a = real(imppar)
b = imag(imppar)
ang = atan(b/a)
mag = sqrt(a^2 + b^2)
pf_1 = cos(ang)
INFERENCE:
CONCLUSION: