Hi Johan,

Ok, this one had me scratching my head for while, but I finally figured it out.

First, the dispatchable load introduces a large negative offset to the 
objective function value. This offset is constant if there is no load shedding, 
which is the case for both Example 5a and 5b.

Second, regarding the decrease in the objective function value when ramping 
costs are introduced, It turns out that the objective function value being 
reported is not the value of the full objective function as described in the 
manual, but rather the value of the objective function of the QP problem passed 
to the QP solver. When adding quadratic ramping costs, it turns out the cost of 
ramping from a specified InitialPg includes a constant term which is not 
included in the objective for the QP problem being solved. That constant term 
is available in mdo.QP.c1 and you can add it to mdo.QP.f to get the value of 
the objective function for the full problem.

This value does increase as expected when adding the ramping cost.

I have modified most_summary() 
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/most_summary.html>
 to report the full objective function value. You can get the new version from 
the MOST GitHub repository <https://github.com/MATPOWER/most>. I will pull 
those changes into the MATPOWER GitHub repository 
<https://github.com/MATPOWER/matpower> soon.

    Ray


> On May 18, 2017, at 11:41 AM, Johan Samir Obando Ceron <[email protected]> 
> wrote:
> 
> 
> Hi every one,
> 
> 
> 
> I am working on MOST 1.0 the example 5 “Deterministic Multiperiod OPF”. I 
> don’t understand why the value of objective function of the example 5a is 
> bigger than the example 5b that includes the wear and tear ramping costs?
>  
> On the other hand, when I run the example 5b the cost generation is bigger 
> than the value of objective function, why?
>  
> Thanks for your support.
>  
> Kind Regard
> Johan Samir Obando
> -- 
> 
> 
> Johan Samir Obando Ceron. Ing.
> Joven Investigador
> Direccion de Investigacion y Desarrollo Tecnologico
> Universidad Autónoma de Occidente
> Cali, Colombia
> Tel (572) 3188000 Ext11831
> e-mail: [email protected] <mailto:[email protected]>
> 

Reply via email to