Thank you, I appreciate your help.

On Thu, Nov 7, 2013 at 12:55 AM, Yang, Yongtao <[email protected]> wrote:
> Hi,
>
> To me it shows that Matpower tries to initiate the voltage of generator bus 
> with the magnitude from gen(on, VG) and the phase angle from the bus voltage 
> phasor V0(gbus). This makes good sense when the V0 vector is initiated from a 
> known solution.
>
> HTH
>
> Yongtao
>
> On 7. nov. 2013, at 06:27, "Vincent Roberge" <[email protected]> wrote:
>
>> 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
>>
>>
>>
>
>
>



-- 
Vincent

Reply via email to