Actually, you have to change the setpoint VG of the generator (or
generators) attached to the slack bus:

define_constants;
mpc = loadcase('test');     % "test" is the name of your casefile
mpc.gen(k, VG) = 1.023456 ; % k is the generator index of the generator(s)
attached to your Slack bus

-- 
Jose L. Marin
Grupo AIA


2017-09-14 10:29 GMT+02:00 Jascha Korscheck <[email protected]>:

> Thank you for the answer. This is the command I search for.
>
>
> best regards
>
> Jascha
>
>
>
> Am 13.09.2017 um 13:47 schrieb Ehsan Hejri:
>
> Dear Jascha Korscheck,
> I think you should change the slack bus voltage magnitude like this:
>
> define_constants;
> mpc = loadcase('test');     % "test" is the name of your casefile
> mpc.bus(1, VM) = 1.06 ;  % 1 is your Slack bus number %1.06 p.u. is just
> an example voltage magnitude for slack bus
>
> Best wishes,
> Ehsan
>
>
> On Wed, Sep 13, 2017 at 1:10 PM, Jascha Korscheck <
> [email protected]> wrote:
>
>> Dear MATPOWER-Team
>>
>> I've described a grid with the name "test". This grid has only three
>> lines with four buses.
>>
>> Bus 1 is connect over line 1 to bus 2, bus is connect over line 2 with
>> bus 3 and bus 3 is connect over line 3 with bus 4.
>>
>> Bus 1 is my slag.  Is the slag-voltage always 1 p.u. or can I change this
>> value?
>>
>> If I can change it, with  which command can I change it?
>>
>> I hope you can help me.
>>
>> --
>> with kindly regards
>>
>> Jascha Korscheck
>>
>> Tel.: +49 (0)2065 839555 – 7
>> Fax: +49 (0)2065 68999 – 8
>> [email protected]
>>
>> DUtrain GmbH
>> - Independent service & training centre
>>   for power system control
>> Dr.-Alfred-Herrhausen-Allee 16
>> <https://maps.google.com/?q=Dr.-Alfred-Herrhausen-Allee+16&entry=gmail&source=g>
>> D-47228 Duisburg
>> Germany
>>
>> www.dutrain.de
>>
>> Geschäftsführung: Dr.-Ing. Udo Spanel
>>                   Dr.-Ing. Carsten Roggatz
>> Amtsgericht Duisburg - HRB 7009
>> VAT-ID: DE 1833 51 736
>>
>>
>>
>
>

Reply via email to