• Given a three-phase power system with a medium-length transmission line, calculate the sending-end voltage and current by hand and by using Matlab code.
Trial>> %M-file to calculate the sending end voltage and current for a medium-length transmission line.
Trial>> %Initialize received voltage, impedance, and admittance
Trial>> vr = 12700 ;
Trial>> z = 0.1 + j*0.82;
Trial>> y = j*4.00e-3;
Trial>> %Calculate ABCD constants
Trial>> A=z*y/2 + 1;
Trial>> B=z;
Trial>> C=y * (z*y/4 + 1);
Trial>> D=z*y/2 + 1;
Trial>> %Calculate the sending end voltage
Trial>> ir = pol2cart(393.65,5.28);
Trial>> vs = A * vr + B * ir;
Trial>> [mag,phase] = cart2pol(vs);
Not enough input arguments.
Error in cart2pol (line 21)
th = atan2(y,x);Trial>> %M-file to calculate the sending end voltage and current for a medium-length transmission line.
Trial>> %Initialize received voltage, impedance, and admittance
Trial>> vr = 12700 ;
Trial>> z = 0.1 + j*0.82;
Trial>> y = j*4.00e-3;
Trial>> %Calculate ABCD constants
Trial>> A=z*y/2 + 1;
Trial>> B=z;
Trial>> C=y * (z*y/4 + 1);
Trial>> D=z*y/2 + 1;
Trial>> %Calculate the sending end voltage
Trial>> ir = pol2cart(393.65,5.28);
Trial>> vs = A * vr + B * ir;
Trial>> [mag,phase] = cart2pol(vs);
Not enough input arguments.
Error in cart2pol (line 21)
th = atan2(y,x); Trial>> %M-file to calculate the sending end voltage and current for a medium-length transmission line.
Trial>> %Initialize received voltage, impedance, and admittance
Trial>> vr = 12700 ;
Trial>> z = 0.1 + j*0.82;
Trial>> y = j*4.00e-3;
Trial>> %Calculate ABCD constants
Trial>> A=z*y/2 + 1;
Trial>> B=z;
Trial>> C=y * (z*y/4 + 1);
Trial>> D=z*y/2 + 1;
Trial>> %Calculate the sending end voltage
Trial>> ir = pol2cart(393.65,5.28);
Trial>> vs = A * vr + B * ir;
Trial>> [mag,phase] = cart2pol(vs);
Not enough input arguments.
Error in cart2pol (line 21)
th = atan2(y,x); how do i write the cart2 pol and pol2 cart formula for this? MATLAB Answers — New Questions