I don’t think you need to change any of the MATPOWER files. Simply add 
additional generators to represent load curtailment and then compute the costs 
of each separately after the fact.

    Ray


> On Dec 19, 2018, at 8:38 AM, Aamir Nawaz <[email protected]> wrote:
> 
> Dear Dr. Ray,
> I want to include contingency cost (load curtailment cost) in total cost 
> calculation of RUNOPF. So my task is to get two cost, one for cost of 
> generation only and other cost for cost of generation plus cost of load 
> curtailed. Please share your suggestion what changes should i made in files 
> like totcost.m and opf_costfcn.m. Thanks in advance.
> 
> Regards,
> Aamir Nawaz.

Reply via email to