Please implement in MATLAB code, (complex power must be calculated as a function
ID: 2079920 • Letter: P
Question
Please implement in MATLAB code, (complex power must be calculated as a function of load power and voltage, etc):
Medium Transmission line operation analysis Industrial load supplied by a local network through a dedicated 220kv transmission line. Determine the operation conditions in no-load and full load conditions Network data: Vnet :=220 Ishort net :- nF Line data. Rine := 0.12 Xline := 0.63 Cline := 20 Xyne : - mi Lline := 1 10ml Load Pumax := 50MW Circuit diagram pfL := 0.8 VLmin-in := 0.95 load System calculated parameters net Vna_ln = 127.017 kV Vnet In Xnet = 8.468 Zme- (13.2 + 69.30 x,-line =-2.4 1 1 iko net short_net Ztine Rine+ j Xline) Lline ine Variable Load data load3Ph load, Vload In 3 Vload In oedPLmax VLmin_In) -(138.122 - 103.592i A Load end capacitor current Vload In lineL Vload_In lineL(Yun_r.) = 50.03 9iA Line current load In elPLmax. VLmin In)- (138.122 - 53.552) AExplanation / Answer
MATLAB CODE:
clc
close all
clear all
%%%%%%%%%%%network data%%%%%%%%%%%%
V_net=input('Enter V_net = V. ')
I_short_net=input('Enter I_short_net = A. ')
omega=input('Enter angular frq = rad/sec. ')
%%%%%%%%%line data%%%%%%%%%%%%%%%%%
R_line=input('Enter the R = ohms/mi. ')
X_line=input('Enter the X = ohms/mi. ')
C_line=input(' Enter the C = F/mi. ')
L_line=input(' Enter the L = mi. ')
%%%%%%%%%%Load data%%%%%%%%%%%%%%
P_max=input('Enter Pl_max = W. ')
pf=input('Enter pf = ')
V_min_in=0.95*(V_net/sqrt(3))
Vnet_in=V_net/sqrt(3)
X_net=Vnet_in/I_short_net
Z_line=(R_line+(j*X_line))*L_line
Xc_line=1/(j*omega*(C_line/2)*L_line)
b=acos(pf)*(180/pi)
S_load=(P_max/pf)*exp(j*b)
I_load=(S_load/(3*V_min_in))
Ic_lineL=V_min_in/(1000*Xc_line)
I_Line=I_load+Ic_lineL
MATLAB RESPONSE
Enter V_net = V.
220000
V_net =
220000
Enter I_short_net = A.
15000
I_short_net =
15000
Enter angular frq = rad/sec.
2*pi*60
omega =
376.9911
Enter the R = ohms/mi.
0.12
R_line =
0.1200
Enter the X = ohms/mi.
0.63
X_line =
0.6300
Enter the C = F/mi.
20*10^-6
C_line =
2.0000e-05
Enter the L = mi.
110
L_line =
110
Enter Pl_max = W.
50000000
P_max =
50000000
Enter pf =
0.8
pf =
0.8000
V_min_in =
1.2067e+05
Vnet_in =
1.2702e+05
X_net =
8.4678
Z_line =
13.2000 +69.3000i
Xc_line =
0.0000 - 2.4114i
b =
36.8699
S_load =
4.2216e+07 - 4.6088e+07i
I_load =
1.1662e+02 - 1.2731e+02i
Ic_lineL =
0.0000 +50.0391i
I_Line =
1.1662e+02 - 7.7275e+01i