Dear Dr Zimmerman,

After the OPF is solved, how can I see the Ybus matrix for the system ? 

Secondly, I have 20 lines. All lines have similar resistance. Instead of 
manually adding the resistance in the 
matrix, is there another way of doing it ?  Ie do I enter this code in the 
runopf () as parameter? 

Thank you



On Wednesday, November 27, 2013 5:58 PM, Shri <[email protected]> wrote:
 
You can unsubscribe from the list at any time by sending an e-mail to 
[email protected] with the following line in the body of the 
message.
leave

On Nov 27, 2013, at 11:42 AM, Hamed Pourgharibshahi wrote:

Dear Dr.Ziverman
>Please don't send me these emails.
>Best regerds
>Hamed Shahi
>
>
>
>
>On Wed, Nov 27, 2013 at 8:36 PM, Ray Zimmerman <[email protected]> wrote:
>
>I suppose it depends … do you want to minimize costs in the other areas as 
>well, subject to fixed exchange schedules? If so, yes, I think working with 
>toggle_iflims.m is best. If, on the other hand, you are only interested in 
>minimizing cost in one area, with the dispatches fixed in other areas, then I 
>think fixing those dispatches (PG=PMIN=PMAX) is sufficient to fix all of the 
>interface flows as well and you don’t even need additional interface flow 
>constraints.
>>
>>
>>-- 
>>Ray Zimmerman
>>Senior Research Associate
>>B30 Warren Hall, Cornell University, Ithaca, NY 14853
>>phone: (607) 255-9645
>>
>>
>>
>>
>>On Nov 26, 2013, at 8:10 PM, Henry Lin <[email protected]> wrote:
>>
>>Dear Dr. Zimmerman, 
>>>
>>>
>>>Thanks a lot for your help. 
>>>
>>>
>>>I want to minimize the cost of generation of one area subject to a fixed 
>>>value for the exchange between all the other areas. Shall I still work with 
>>>toggle_iflims.m as you suggested or you have some other suggestions? 
>>>
>>>
>>>
>>>
>>>Thanks a lot. 
>>>
>>>
>>>Best,
>>>
>>>
>>>Henry
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>2013/11/26 Ray Zimmerman <[email protected]>
>>>
>>>Sorry, somehow my previous reply never got sent …
>>>>
>>>>
>>>>So, what exactly do you want to optimize, if you are specifying the import 
>>>>and export? Are you saying you want to minimize cost of generation in both 
>>>>areas subject to a fixed value for the total exchange between the two 
>>>>areas? If so, the best you can do is constrain the net flow (DC 
>>>>approximation) to equal your specified value. The easiest thing is probably 
>>>>to start with the code in toggle_iflims.m and modify it to use an equality 
>>>>constraint instead of an inequality constraint on the interface flow.
>>>>
>>>>-- 
>>>>Ray Zimmerman
>>>>Senior Research Associate
>>>>B30 Warren Hall, Cornell University, Ithaca, NY 14853
>>>>phone: (607) 255-9645
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>On Nov 26, 2013, at 10:43 AM, 车 <[email protected]> wrote:
>>>>
>>>>Hi Matpower users, 
>>>>>
>>>>>Anybody have any ideas about how to calculate opf with the total import 
>>>>>power and export power specified? 
>>>>>
>>>>>
>>>>>Thanks a lot
>>>>>
>>>>>Lin 
>>>>>
>>>>>On Nov 25, 2013, at 8:59, Henry Lin <[email protected]> wrote:
>>>>>
>>>>>
>>>>>Dear all, 
>>>>>>
>>>>>>I am trying to use OPF with area interchange being specified. I know how 
>>>>>>much power is going to be import and export. 
>>>>>>
>>>>>>How can I do it using Matpower?
>>>>>>
>>>>>>
>>>>>>Thanks,
>>>>>>Henry 
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to