Uploaded by varuneshanadan

14 POWER FACTOR IMPROVEMENT

advertisement
POWER FACTOR IMPROVEMENT
Ex.No.: 04
AIM :
To code power factor improvement using MATLAB.
MATLAB CODE :
Z1=6+j*12
Z2=4+j*30
Z1+Z2
Z1-Z2
Z1*Z2
Z1/Z2
P=4
Q=3
S=P+j*Q
pf=P/abs(S)
%Qn
V=1200
Z1=60
Z2=6+j*12
Z3=30-j*30
I1=V/Z1
I2=V/Z2
I3=V/Z3
S1= V*conj(I1)
S2=V*conj(I2)
S3=V*conj(I3)
TOTAL_S=S1+S2+S3
OUTPUT :
Z1 = 6.0000 + 12.0000i
Z2 = 4.0000 + 30.0000i
ans = 10.0000 + 42.0000i
ans = 2.0000 - 18.0000i
ans = -3.3600e+02 + 2.2800e+02i
ans = 0.4192 - 0.1441i
P=4
Q=3
S = 4.0000 + 3.0000i
pf = 0.8000
V = 1200
Z1 = 60
Z2 = 6.0000 + 12.0000i
Z3 = 30.0000 - 30.0000i
I1 = 20
I2 = 40.0000 - 80.0000i
I3 = 20.0000 + 20.0000i
S1 = 24000
S2 = 4.8000e+04 + 9.6000e+04i
S3 = 2.4000e+04 - 2.4000e+04i
TOTAL_S = 9.6000e+04 + 7.2000e+04i
RESULT :
Power factor improvement is done using MATLAB .
INFERENCE :
In this experiment we calculated the power factor of a power system with given
parameters and the total complex power consumed by three loads connected in parallel. The
code first defines the impedance of the source (Z1) and the load (Z2) and calculates the total
impedance (Z1+Z2 and Z1-Z2), the product of impedance (Z1*Z2), and the ratio of
impedance (Z1/Z2). The code then defines the real power (P) and reactive power (Q) and
calculates the apparent power (S) and power factor (pf) using the given formulas.
Next, we calculated the current flowing through each load (I1, I2, and I3) using the
formula V/Z, where V is the voltage and Z is the impedance of the load. Then the complex
power consumed by each load (S1, S2, and S3) using the formula V*conj(I), where conj(I) is
the conjugate of the current and the total complex power consumed by all three loads
(TOTAL_S) by adding the complex power of each load.
The results show that the power factor of the system is 0.8, which is less than one,
indicating that there is a phase difference between the voltage and current, leading to a loss of
real power. The results also show that the total complex power consumed by all three loads is
96000 + 72000i, indicating that there is both real and reactive power being consumed.
CB.EN.U4EEE22114
KAMALI HARSHINI K
Download