Good day all,

I am a student and I am trying to fully understand the N-R method for
power flow analysis. I wrote a C program that does it and I compare my
output to the one generated by MATPOWER. Everything matches until I
try case2736sp. In this case, the generator setpoint voltage and the
initial guess for the bus voltage associated to the generator do not
match. Instead of forcing the voltage of the bus to the generator
setpoint, MATPOWER uses some sort of a ratio which I don't undestand
at all. This all occurs in the file "runpf.m" at line 201:

V0(gbus) = gen(on, VG) ./ abs(V0(gbus)).* V0(gbus);

How does this work? There must be something I don't understand about
generator setpoint. What is generator setpoint? Anyone willing to help
and explain me that line of code. Thanks in advance.


-- 
Vincent

Reply via email to