Ans:
j = sqrt(-1);
V = zeros(1.03,1.05);
S = zeros(3,1);
Mismatch = zeros(3,1);
%------------------ Base values----------------%
kVLL=345;
MVA3Ph=100;
Zbase=kVLL^2/MVA3Ph;
%%%%%%%---------- line parameters in pu/km----------%
XL_km=0.376;
RL_km= 0.037; B_km=4.5;
%---------Line Susceptances--------%
B13_Micro_Mho=4.5*200; %200 km long
B12_Micro_Mho=4.5*150; %150 km long
B23_Micro_Mho=4.5*150; %150 km long
%---------Line impedances------------%
Z13_pu=(0.0+j*0.15)*200; %200 km long
Z12_pu=(0.0+j*0.06)*150; %150 km long
%------- line impedances in per unit--------%
Z13=Z13_pu/Zbase;
Z12=Z12_pu/Zbase;
%-------- susceptances in per unit----------%
B13=B13_Micro_Mho*Zbase*10^-6;
B12=B12_Micro_Mho*Zbase*10^-6;
%---------- YBUS Creation-------------%
Y(1,1)=1/Z12 + 1/Z13;
Y(1,2)=-1/Z12;
Y(2,1)=-1/Z12;
Y(2,2)=1/Z12 + 1/Z23;
Y; % Print Y=G+jB Admittance Matrix
%----------Conductance Values------------%
G(1,1)=real(Y(1,1));
G(1,2)=real(Y(1,2));
G(2,1)=real(Y(2,1));
G(2,2)=real(Y(2,2));
%--------Susceptance Values----------%
B(1,1)=imag(Y(1,1));
B(1,2)=imag(Y(1,2));
B(2,1)=imag(Y(2,1));
B(2,2)=imag(Y(2,2));
%--------- Given Specifications in pu (Known)----------%
V1MAG=1.03;
ANG1=0;
V2MAG=1.05;
P2sp=1.0;
P3sp=-0.9;
Q3sp=-0.6;
% -------------Calulate ANG2, V3MAG and ANG3---------------%
% ----Solution Parameters----%
Tolerance= 0.001;
Iter_Max=25;
%----- Initialization-------%
Iter=0;
i=0;
ConvFlag=1;
delANG2=0;
%-------------- to be determined (Flat
start)-----------%%%%%%%%
ANG2=0;
ANG3=0;
V3MAG=1.0;
%------------------ Start Iteration Process for
N-R-----------------%
while( ConvFlag==1 && Iter < Iter_Max)
Iter=Iter+1;
i=i+1;
%%----------- update the Voltage and Angles to calculate new
jacobian---%
ANG2=ANG2+delANG2;
%------- Creation of Jacobian J--------%
% ------ delP2/delANG2=J(1,1)
J(1,1) =
V2MAG*(V1MAG*(B(2,1)*cos(ANG2-ANG1)-G(2,1)*sin(ANG2-ANG1))+V3MAG*(B(2,3)*cos(ANG2-ANG3)-G(2,3)*sin(ANG2-ANG3)));
%%%%--------- delP2/delANG3 = J(1,2)------------%
J(1,2)=V2MAG*V3MAG*(G(2,3)*sin(ANG2-ANG3)-B(2,3)*cos(ANG2-ANG3));
%%%%%%%------ delP2/delV3Mag = J(1,3)--------%
%%%%%%%%%%%--- delP3/delANG2 = J(2,1)---------%%%
J(2,1) =
V3MAG*V2MAG*(G(3,2)*sin(ANG3-ANG2)-B(3,2)*cos(ANG3-ANG2));
%%%%%%%%%%%-------delP3/delANG3 = J(2,2)-----------------%%
J(2,2)=
V3MAG*(V1MAG*(B(3,1)*cos(ANG3-ANG1)-G(3,1)*sin(ANG3-ANG1))+V2MAG*(B(3,2)*cos(ANG3-ANG2)-G(3,2)*sin(ANG3-ANG2)));
%%%%%%%%%%%----------delP3/delV3MAG = J(2,3)------%
J = [J(1,1) J(1,2) ;J(2,1) J(2,2);
%%%%%%% calculation of updated voltages with angles
%%%%%%%%%%%%
V(1)= V1MAG*exp(1i*ANG1);
V(2)= V2MAG*exp(1i*ANG2);
%%%%%%%----------- Current injections at each bus based on
updated voltages and angles----------%%%%%%%%%
I = Y*V;
%%%%%%%%%----------calculation of P and
Q-----------%%%%%%%%%%%
S(1) = V(1)*conj(I(1));
S(2) = V(2)*conj(I(2));
%%%%%%%%%%%-------------
Mistmatches--------------%%%%%%%%%%
Mismatch(1) = P2sp-real(S(2));
Mismatch(2) = P3sp-real(S(3));
%%%%%%%-------- calculate the deltaANG and
deltaVMAG-----------%%%%%%%
del=inv(J)*Mismatch; % for large matrices, this mathod is
bad.
% Always use LU factorization to solve this linear equation.
delANG2 = del(1);
delANG3 = del(2);
%%%%%%%%%%%----------- Calculate power flow on transmission
line-------%%
P12 = real(V(1))*conj((V(1)-V(2))/Z12);
P21 = real(V(2))*conj((V(2)-V(1))/Z12);
Q12 = imag(V(1))*conj((V(1)-V(2))/Z12);
Q21 = imag(V(2))*conj((V(2)-V(1))/Z12);
P1 = real(S(1));
Q1 = imag(S(1));
P2 = real(S(2));
Q2 = imag(S(2));
Q2 (Newton-Raphson Power Flow Solution with FACTS Devices Consider a two-bus system with the sing...
For a three-bus power system given below, find the fault current when a) L-G fault, b) L-L, and c) L-L-G fault occurs at Bus-3. Use pre-fault voltage of 1 p.u. Assume fault impedance is zero. All impedances in pu with respect to a common base. X+seq=j0.25 X.seq=j0.15 Xoseq=j0.10 X+seq=j0.05 X-seq=j0.05 Xoseg=j0.18 m X+seq=j0.25 X-seq=j0.15 Xoseq=j0.10 m Xneutral=jO m m3 Gen-1 Gen-2 X+seq=j0.025 X.seq=j0.025 Xoseq=j0.09 X+seq=j0.025 X-seq=j0.025 Xoseq=j0.09
A single line diagram that represent a three phase power system network is shown inFigure 1 . The generators are at buses 1 and 2 . The magnitude of voltage at bus 1 is adjusted to\(1.05\) per unit. The scheduled load at buses 2 and 3 are as marked on the diagram. Lineimpedance are marked in per unit on \(100 \mathrm{MVA}\) base and the line charging susceptances areneglected. Develop a power flow solution by Newton-Raphson method for the 3 buses...
Problem #1: Take a two-bus system. Bus #1 is represented as an infinite bus with a constant voltage of 120 per unit. Bus #2 is represented as a load / PQ bus with a constant complex power draw (consuming power from system) of 125MW and-55MVAR. The power base for this system is 100MVA. The transmission line between buses #1 and #2 is represented by the pi-model. The series admittance between the buses is Y12-5-12.5pu. The shunt admittance at either end...
3. The Fig. P3.1 shows a single-line diagram of a three-phase power system. Suppose Pp2 - 0.5 p.u. The bus l is a slack bus with V,-1.000 ?.u. and S2-SG2-SD2--0.5 ?.u. Use the Newton-Raphson iteration to perform power flow analysis of the power system. (a) Determine the Ybus relating the bus voltages and currents. (b) Find V2 (c) Find Si and S2. jai,-ji .0 ?.?. SG V,-1.0/00 Fig. P3.1 S2 SD,-0.5 +j 1.0 ?
USING NEWTON RAPHSON Q2) For the three bus power system shown below, use the NR power flow to determine the only first iteration voltage magnitude and angle at bus 2 and bus 3. Assume that SB 100 MVA Bus 1 Bus 2 s3.85 1.90 22.36 2.0331.62 [1.89 31.62 1.89 40 W258.13 1.10 5.7/20s Gen 58.131-1.1035.772.03 31.62 1.89 35.772.03 67.231.17 250 MVr Bus Slack Bus V10510 pu Bus 3 Gen V3-1.04 pu p- 200 Mw 2 1 211 11 + i...
Four-bus power system shown in Fig. 1 are as follows: Generator G1: 200 MVA, 7.2 kv, X -0.15 p.u Generator G2: 250 MVA, 9.6 kV, X-0.12 p.u Generator G3: 500 MVA, 10 kV, X-0.25 p.u Transformer T1:200 MVA, 7.2 Δ /132 Y kV, X= 0.05 p.u Transformer T2: 250 MVA, 9.6 Δ /132 Y kV, X =0.15 p.u Transformer T3: 500 MVA, 10 Δ /132 Y kV, x-0.1 p.u Each 132-kV line:X,-10 Ω 1- A three-phase short circuit occurs at...
Please show all the clearly step Y11 ist j30 and Y44 isnt -j12.85 Consider the 4-bus power system shown in Fig. 1. The system parameters are given below: 50 MVA, 20 kV, X-2090 40 MVA, 20 kV, X-20%, X, = 5% 50 MVA, 20 kV Δ /110 kV Ý, X= 1090 50 MVA, 20 kV MI 10 kV Ý, X= 10% Xi-24.2 Ω Generator G: Motor M: Transformer T1 : Transformer T2 : Transmission line: 3 4 T2 nu)M Fig....
2. In the two-bus system shown in Figure 59, bus l is a slack bus with Vi = 1.0/0° pu. A load of 100 MW and 50 Mvar is taken from bus 2. The line impedance is zi2 0.12 + j0.16 pu on a base of 100 MVA. Using Newton-Raphson method. obtain the voltage magnitude and phase angle of bus 2. Start with an initial estimate of | ½|(0) = 1 .0 pu and δ2(0) = 0°. Perform two terations....
6.28 Consider the simplified electric power system shown in Figure 6.17 for which the power- flow solution can be obtained without resorting to iterative techniques. (a) Compute the elements of the bus admittance matrix Ybus. (b) Calculate the phase angle δ, by using the real power equation at bus 2 (voltage-controlled bus). (c) Determine IV and os by using both the real and reactive power equations at bus 3 (load bus). (d) Find the real power generated at bus 1...
The single-line diagram of a three-phase five-bus power system is shown in Fig.1. All lines have an impedance 0.0099+0.0990j pu. Line charging (capacitive) admittance can be neglected. 2-0.8830 30.2076 SD3-0.2+j0.1 SD3-1.7137+j0.5983 Sos-1.7355+j0.5496 Pe5 -0.5 G Qg5 -0.2 Fig. 1 a) Find the Ybus matrix of this system. b) Classify the buses in this system as slack, PV or PQ bus c) For each bus, state the given and unknown power flow variables. d) Find the net power injection (scheduled power)...