Lab Five Power

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

FARAZ AHMED

TE EE 147
SECC

CT-2
LAB 5 TASK

BATCH
2008-09

clear all;
close all;
clc;t=-.01:.00005:0.02;f=50;
va=2*sin(2*pi*f*t);
vb=2*sin(2*pi*f*t-120*pi/180);
vc=2*sin(2*pi*f*t-2*120*pi/180);
v1=va-vb;
v2=vb-vc;
a=(acos(0.5))
i1=2*sin(2*pi*f*t-a);
i2=2*sin(2*pi*f*t-((120*pi/180)-a));
i3=2*sin(2*pi*f*t-((2*120*pi/180)-a));
pa=va.*i1;pb=vb.*i2;pc=vc.*i3;
pt1=pa+pb+pc;
plot(t,pa,'r*',t,pb,'y',t,pc,'b',t,pt1,'k*');grid;
xlabel('time');ylabel('instantaneous
power');legend('pa','pb','pc','pt1');
title('3 wattmeter method');figure;
%two wattmeter method;
w1=v1.*i1;w2=v2.*i2;wt=w1+w2;
plot(t,w1,'r',t,w2,'y',t,wt,'b*');grid;
xlabel('time');ylabel('instantaneous
power');legend('w1','w2','wt');
title('two wattmeter method');

two wattmeter method

3 wattmeter method

7
w1
w2
wt

pa
pb
pc
pt1

instantaneous power

instantaneous power

4
3
2
1

-2
0
-4
-0.01

-0.005

0.005
time

0.01

0.015

0.02

-1
-0.01

-0.005

0.005
time

0.01

0.015

0.02

You might also like