You are on page 1of 13

# EEPB 353 POWER SYSTEM I SEMESTER 1 2011/2012 COMPUTE ASSIGNMENT POWER FLOW

## Group members: SHO ZEE LIANG ALDO LEE

EE084586 EE083783

## Name of Lecturer: Mr. John Steven A/L Navamany

Introduction
In this power system assignment, we are required to analysis the network given by using the Matlab Simulink and the M-files and we need to get the results of simulation and include inside our report. At first we need to convert the network into per-unit equivalent circuit as the data needed at the Matlab must be in per-unit values. We also need to perform all the calculation on the data given in Table 1. Follow by that, we need to use Matlab Simulink to generate the Y bus matrix of the power system and get the power flow solution using the Gauss-Seidel Method. We also need to indicate all the details of the voltage magnitude and angle on each bus, generation buses and load (P and Q details) on load buses and line flows on single-line diagram. Lastly, we need to discuss the impact and solution to solve the problem if there is a transmission line outage happened at the L2.

In power system, power-flow solution is an important tool which including the numerical analysis method. The numerical analysis method is Newton-Raphson method and Gauss-Seidel method. The power flow solution usually uses one-line diagram and per-unit system and focuses on various forms of AC power which are reactive, real and apparent rather than focuses on the voltage and current. Power flow solution is important in future for planning expansion of the power system. The power flow solution also contributes to the commercial power system as the hand-calculation for the power flow is too hard to apply on the commercial power system which is very large. The goal of the power flow solution is to obtain the voltage and phase angle for all the buses for specific conditions on the load and generator in the network. The power-flow solution can help us in the analysis of the power system in a normal-steady state operation.

## Simulation Results Part (a)

Given SB= 100MVA, V1B=13.8kV V2B = (230kV/13.8kV) * 13.8kV = 230kV V3B = (15kV/230kV) * 230kV = 15kV V1pu = 13.8kV/ 13.8kV = 1.0 0 pu (slack bus) Notes: All the voltages for the bus 2 until bus 6 are assumed to be 1.0 0 pu. V7pu = 15kV /15kV = 1.0 0 pu (voltage-controlled bus) We can calculated the impendances by using the formula Znew=Zold*Snew / Sold : XG1 = (0.12)*(100/100) = j0.12 pu XG2 = (0.12)*(100/200) = j0.06 pu XT1 = (0.10)*(100/100) = j0.10 pu XT2 = (0.10)*(100/200) = j0.05 pu To calculate ZB, we can use ZB = (VB)2/SB Z3B = (15k)2/100M =2.25 Z2B = (230k)2/100M =529 (For all ZB line)

## Zline = (Rline+ jXline)*Length/ZB Z23 = [(0.08+j0.05)*15]/529 = 0.002268+j0.01417 pu

Z34 = [(0.08+j0.05)*30]/529 = 0.0045368+j0.02835 pu Z45 = [(0.08+j0.05)*40]/529 = 0.006049+j0.0378 pu Z46 = [(0.08+j0.05)*50]/529 = 0.0075614+j0.04726 pu Z56 = [(0.08+j0.05)*15]/529 = 0.002268+j0.01417 pu

SL-pu = SL/SB S2 = [(50MW+j30MVAR)]/100MVA =0.5+j0.3 pu S3 = [(50MW+j30MVAR)]/100MVA =0.5+j0.3 pu S4 = [(50MW+j30MVAR)]/100MVA =0.5+j0.3 pu S5 = [(50MW+j30MVAR)]/100MVA =0.5+j0.3 pu S6 = [(50MW+j30MVAR)]/100MVA =0.5+j0.3 pu

## Equivalent impedance diagram

j 0.05 pu

j 0.1 pu 1.4706 pu
1.4706 pu

1.4706 pu

j 0.8823 pu

j 0.8823 pu

1.4706 pu

j 0.8823 pu

j 0.8823pu

1.4706 pu

j 0.8823 pu

ZL1 = ZL4 = 0.0023 + j 0.0142 pu Z L2 = 0.0045 + j 0.0284 pu ZL3 = 0.0060 + j 0.0378 pu ZL5 = 0.0076 + j 0.0473 pu

-0.5 j0.3 pu -0.5 j0.3 pu -0.5 j0.3 pu -0.5 j0.3 pu -0.5 j0.3 pu S2sch = S3sch = S4sch = S5sch = S6sch = -0.5-j0.3 PU Y12 = 0 + j0.1000 pu = - Y21 Y67 = 0 + j0.2000 pu = - Y76 Y23 = -0.1100 + j0.6876 pu = - Y32 Y34 = -0.0550 + j0.3438 pu = - Y43 Y45 = -0.0413 + j0.2579 pu = - Y54 Y56 = -0.1100 + j0.6876 pu = - Y65 Y46= -0.0330 + j0.2063 pu = - Y64 Y11 = 0 - j0.1000 pu Y22 = 0.1100 - j0.7876 pu Y33 = 0.1650 - j1.0314 pu Y44 = 0.1293 - j0.8080 pu Y55 = 0.1512 - j0.9455 pu Y66 = 0.1430 - j1.0939 pu Y77 = 0 - j0.2000 pu

Part (b)
a) Y Bus Matrix (MATLAB coding & result)
R X 0 0.1 0.002268 0.01418 0.004537 0.02836 0.006049 0.03781 0.007561 0.04726 0.002268 0.01418 0 0.05 ];

## % To obtain Y bus matrix % From To z = [ 1 2 2 3 3 4 4 5 4 6 5 6 6 7

% Obtaining the Y bus matrix % Assign Y to function ybus1 Y = yBus1(z); display (Y); Y = 1.0e+002 * Columns 1 through 4 0 - 0.1000i 0 + 0.1000i 0 0.3438i 0 0.8080i 0 0.2579i 0 0.2063i 0 Columns 5 through 7 0 0 0 -0.0413 + 0.2579i 0.1512 - 0.9455i -0.1100 + 0.6876i 0 0 0 0 -0.0330 + 0.2063i -0.1100 + 0.6876i 0.1430 - 1.0939i 0 + 0.2000i 0 0 0 0 0 0 + 0.2000i 0 - 0.2000i 0 0 0 0 0 -0.0330 + 0 0 -0.0413 + 0 -0.0550 + 0.3438i 0.1293 0 + 0.1000i 0.1100 - 0.7876i -0.1100 + 0.6876i 0 -0.1100 + 0.6876i 0.1650 - 1.0314i 0 0 -0.0550 +

Part (c)
Power Flow Solution
% Set the variable basemva to be 100 basemva = 100; % Preparing busdata input % Note that bus codes indicate types of bus % Bus Code 0 indicates load % Bus Code 1 indicates slack bus % Bus Code 2 indicates P-V bus %% Power Flow Solution % Defining parameters for Gauss-Seidel solving accuracy = 0.0001; accel = 1.6; maxiter = 200; % Bus Bus Voltage ----% No Code Mag. Mvar busdata = [ 1 1 1.00 2 0 1.00 3 0 1.00 4 0 1.00 5 0 1.00 6 0 1.00 7 2 1.00 0 ]; Angle Degree ------Load-----Generator----InjectedMW Mvar MW Mvar Qmin Qmax

0 0 0 0 0 0 0

0 50 50 50 50 50 0

0 30 30 30 30 30 0

0 0 0 0 0 0 180

0 0 0 0 0 0 0

0 0 0 0 0 0 -87

0 0 0 0 0 0 87

0 0 0 0 0 0

% Preparing linedata input % All line settings are set to 1 because no transformer tapping occurs % Bus Bus R X 1/2B Line setting % nl nr pu pu pu linedata = [1 2 0 0.1 0 1 2 3 0.002268 0.01418 0 1 3 4 0.004537 0.02836 0 1 4 5 0.006049 0.03781 0 1 4 6 0.007561 0.04726 0 1 5 6 0.002268 0.01418 0 1 6 7 0 0.05 0 1]; % Carrying out operations which require to solve the power flow Lfybus; Lfgauss; Busout; Lineflow;

i) Output results for voltage magnitude and angle, generation details and load details. %% Results Power Flow Solution by Gauss-Seidel Method Maximum Power Mismatch = 9.02454e-005 No. of Iterations = 114 Bus Voltage Angle ------Load--------Generation--Injected No. Mag. Degree MW Mvar MW Mvar Mvar 1 1.000 0.000 2 0.908 0.000 3 0.900 0.000 4 0.895 0.000 5 0.897 0.000 6 0.904 0.000 7 0.950 0.000 Total 0.000 0.000 -4.463 -4.588 -3.929 -3.104 -2.345 3.669 0.000 50.000 50.000 50.000 50.000 50.000 0.000 0.000 30.000 30.000 30.000 30.000 30.000 0.000 70.662 0.000 0.000 0.000 0.000 0.000 180.000 94.765 0.000 0.000 0.000 0.000 0.000 96.508

250.000

150.000

250.662

191.273

ii)

Output results for line flows and line losses Line Flow and Losses

--Line-- Power at bus & line flow --Line loss-from to MW Mvar MVA MW Mvar 1 70.662 94.765 118.210 2 70.663 94.765 118.210 0.000 13.974 -50.000 -30.000 58.310 1 -70.663 -80.792 107.334 0.000 13.974 3 20.668 50.791 54.835 0.083 0.517 -50.000 -30.000 58.310 2 -20.585 -50.273 54.325 0.083 0.517 4 -29.415 20.274 35.725 0.072 0.447 -50.000 -30.000 58.310 3 29.487 -19.826 35.532 0.072 0.447 5 -30.664 -0.674 30.671 0.071 0.444 6 -48.821 -9.501 49.737 0.234 1.460 -50.000 -30.000 58.310 4 30.735 1.118 30.755 0.071 0.444 6 -80.731 -31.119 86.521 0.211 1.319 -50.000 -30.000 4 49.054 10.961 5 80.942 32.438 7 -179.999 -73.398 58.310 50.264 0.234 1.460 87.200 0.211 1.319 194.389 0.000 23.110

Transformer tap

180.000 96.508 204.240 6 179.999 96.508 204.239 0.000 23.110 0.670 41.272

Total loss

Part (d)
Single Line Diagram

DISCUSSION