Hi Hasan,

If you open case9.m you'll see the bus matrix.
You need to change the value of *Vmax Vmin *values from bus matrix like I
changed it for buses you want.
I think you need to do this:
%% bus data
% bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax Vmin
mpc.bus = [
1 3 0 0 0 0 1 1 0 345 1 *1.2 0.8;*
2 2 0 0 0 0 1 1 0 345 1 *1.2 0.8;* ;
3 2 0 0 0 0 1 1 0 345 1 *1.2 0.8;* ;
4 1 0 0 0 0 1 1 0 345 1 *1.2 0.8;* ;
5 1 90 30 0 0 1 1 0 345 1 1.1 0.9;
6 1 0 0 0 0 1 1 0 345 1 1.1 0.9;
7 1 100 35 0 0 1 1 0 345 1 1.1 0.9;
8 1 0 0 0 0 1 1 0 345 1 1.1 0.9;
9 1 125 50 0 0 1 1 0 345 1 *1.2 0.8;* ;
];

This relaxation is arbitrary, I changed it to *1.2 (max) and 0.8(min),* you
can make it flexible as you wish.

Regards
Mirish

On Sat, Jan 19, 2019 at 12:06 AM Meraj Fouad <[email protected]> wrote:

> Hi Mirish,
> Thank you for your response.
>
> can you make it a bit more clear?
> what do you mean by relaxing?
> Best regards
>
> On Fri, Jan 18, 2019 at 4:53 PM Mirish Thakur <[email protected]>
> wrote:
>
>> Hi Hasan,
>>
>> I would say, just relax the limits of rest of the buses from bus matrix
>> in case9.m file and keep ( 0.9 and 1.1) for  5 to 8.
>>
>> Thanks
>> Mirish
>>
>> On Fri, Jan 18, 2019 at 10:19 PM Meraj Fouad <[email protected]> wrote:
>>
>>> Hi ,
>>> How are you all doing?
>>>
>>> I am using "runopf" in MATPOWER. But I want  MATPOWER to consider some
>>> particular bus voltage limit constraints. For example, in case9 bus system,
>>> MATPOWER should consider the voltage limits ( 0.9 and 1.1) of only bus 5 to
>>> 8.
>>>
>>> Is there any idea how can I do that?
>>>
>>> Best Regards
>>> Fouad Hasan
>>>
>>

Reply via email to