Parameters Calculation For Transmission Line
Parameters Calculation For Transmission Line
Parameters Calculation For Transmission Line
end
elseif (Method==1);
if (phase==3)
Vrph = Vr/sqrt(3);
I = Pr/(3*Vrph*PF);
I = I*(PF - j*sin(acos(PF)));
V1=Vrph+(I*(Z/2));
Ic=j*S*V1;
Is=I+Ic;
Vsph=V1+Is*(Z/2);
Vs=sqrt(3)*Vsph;;
reg = (abs(Vs)-Vr)*100/Vr
Losses=3*(abs(Is)^2)*(R/2)+3*(abs(I)^2)*(R/2);
Efficiency= ((Pr)/((Pr)+Losses))*100
elseif (phase==1)
I = Pr/(Vr*PF);
I = I*(PF - j*sin(acos(PF)));
V1=Vr+(I*(Z/2));
Ic=j*S*V1;
Is=I+Ic;
Vs=V1+Is*(Z/2);
reg = (abs(Vs)-Vr)*100/Vr
Losses=(abs(Is)^2)*(R/2)+(abs(I)^2)*(R/2);
Efficiency= ((Pr)/((Pr)+Losses))*100
else
disp('Invalid Phase');
end
elseif(Method==2)
if (phase==3)
Vrph = Vr/sqrt(3);
I = Pr/(3*Vrph*PF);
I = I*(PF - j*sin(acos(PF)));
Ic1=j*(S/2)*Vrph;
Il=I+Ic1;
Vs=Vrph+(Il*(Z));
Ic2=j*(S/2)*Vs;
Is=Il+Ic2;
reg = (abs(Vs)-Vr)*100/Vr
Losses=3*(abs(Is)^2)*(R/2)+3*(abs(I)^2)*(R/2);
Efficiency= ((Pr)/((Pr)+Losses))*100
elseif(phase==1)
I=Pr/(Vr*PF);
I = I*(PF - j*sin(acos(PF)));
Ic1=j*(S/2)*Vr;
Il=I+Ic1;
Vs=Vr+Il*Z;
Ic2=j*(S/2)*Vs;
Is=Ic2+Il;
reg = (abs(Vs)-Vr)*100/Vr
Losses=(abs(Is)^2)*(R/2)+(abs(I)^2)*(R/2);
Efficiency= ((Pr)/((Pr)+Losses))*100
end
else
disp('Invalid Method')
end