Assuming it ends up being a per MW cost, you can simply add the fuel cost and 
emission cost functions together and supply the sum in the gencost matrix. 
You’ll have to do the accounting yourself to split the costs into their 
components if you want them reported separately.

   Ray


On Oct 14, 2021, at 8:55 AM, MALIHA SHAH 
<[email protected]<mailto:[email protected]>> 
wrote:

Thank you . I got it.
But if we want to add the emission costs , where and how should i edit the 
objevtive function ?
As if there is a proper formulation for certain kinds of emissions .

Maliha

Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 on behalf of Ray Daniel Zimmerman <[email protected]<mailto:[email protected]>>
Sent: Thursday, October 14, 2021 1:01:06 AM
To: MATPOWER-L <[email protected]<mailto:[email protected]>>
Subject: Re: How to edit objective function in most

No need to edit the code, just set the appropriate cost parameters to zero. If 
I remember correctly, most of them should be zero by default, if not defined.

    Ray


> On Oct 13, 2021, at 3:58 AM, MALIHA SHAH 
> <[email protected]<mailto:[email protected]>>
>  wrote:
>
> Respected Ray,
>
> As tge objective function is explained in most manual , it comprises of 
> different types of costs. If one wants to manipulate objective function and 
> remove some of the cost , for example if only cost of generators are to be 
> counted then where should I edit the code .
> Will be grateful for your response.
>
> Maliha





Reply via email to