gauss sedial power flow

Upload: haseeb-nawaz

Post on 23-Feb-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 Gauss Sedial Power Flow

    1/1

    Guass_Siedel Method:%bus_no Active_powr_gen Reactive_powr_gen Active_powr_load Reactive%_power_load Sch_voltage%%

    functiongauss_siedel(Y)data!

    " # # " $& "' # # " $& " # # $& $ " # # # # "& # # # # "* # # # # " # # # # "+ # # # # ", # # # # ""# # # # # """ # # # # ""' " # $& $&* "-.p_gen data(:/'). %to access ' colu0n(Active_power_gen)%1_gen data(:/).p_load data(:/).1_load data(:/&).v data(:/*).foriteration":'for0':"'

    foriterations":' te0p#. for n":"'

    ifn20 te0pte0p3Y(0/n)$4v(n). end end

    v(0) ("$5Y(0/0))$4(((p_gen(0)6p_load(0)6i41_gen(0)3i41_load(0)) $5con7(v(0)))6te0p). end 00ag abs(v(0))Angleangle(v(0)) $4("+#$5pi)endend