It’s not clear from your question what the variable Q is. Adding a cost to 
active or reactive generation can be done simply through the gencost matrix.

    Ray


> On Jun 1, 2018, at 5:32 AM, Mariusz Drabecki <[email protected]> wrote:
> 
> Dear all,
>  
> I am working on Voltage Stability problems. I would like to add a linear 
> component to the OPF so the resulting cost function is:
>  
> <image001.png>
> Where mu is a linear penalty coefficient . 
>  
> I was reading the MP manual. Especially the ‘Extending OPF’ section, however 
> failed to figure out how I can add the second component (mu(i,k) * Q(gi,t)) 
> to the standard OPF.
>  
> I would greatly appreciate any help from you guys, as for the moment I got 
> terribly stuck.
>  
> Best, 
> Mariusz

Reply via email to