Re: benefit function of dispatchable load

2016-09-14 Thread Muhammd Ali Mohseni
Dear Samuel,

I don't have any other problem. It is interesting when I change the
benefit function coefficient to positive like this:
mpc.gencost = [
 .
 2   0   0   3   0.5*0.015  13.00;
 ]
there isn't any warning and DC Opf converge!!! now results is
true???!!! hence the power associated with dispatchable Loads is
negative but first part of cost function is
positive(0.5*0.015*P^2>0)!! Is the final value of Opf correct???

With respect,

 Ali

On 9/14/16, Samuel Perkin  wrote:
> Dear Muhammd,
>
> Your error message is not really an error, but is just a warning statement
> that you shouldn't need to react to. It simply means that the optimisation
> algorithm doesn't require an initial guess of the solution, and therefore
> any initial guess is ignored. This warning message isn't related to
> dispatchable loads. Did you get any other error messages?
>
> Your input for dispatachable load looks fine to me, except I think Qmax
> (column 4) should probably be 0 to prevent your loads from acting as
> 'reactive generators'.
>
> Kind regards,
>
> Samuel
>
> -Original Message-
> From: bounce-120786253-76238...@list.cornell.edu
> [mailto:bounce-120786253-76238...@list.cornell.edu] On Behalf Of Muhammd Ali
> Mohseni
> Sent: 14. september 2016 14:56
> To: matpower-l@cornell.edu
> Subject: benefit function of dispatchable load
>
> Dear all
> According to the Matpower manual (6.4.2 Dispatchable Loads)  approach to
> dispatchable  loads is to model them as negative real power injections with
> associated negative costs. but when I run dcopf I got this error!!!
>
> " MATPOWER Version 6.0b1, 01-Jun-2016 -- DC Optimal Power Flow The
> interior-point-convex algorithm does not accept an initial point.
> Ignoring X0."
>
> I set negative output, ranging from 0 to -1000 like this mpc.gen = [ .
> 1 0   0   100 -1001.05100 1   0-1000  
>   0 0   0   0   0   0   0   0   0   0 
>   0;
> ]
> also I assume that bid function of load like this : aP+ b and benefit
> function of load : 0.5aP^2+bP
>
> mpc.gencost = [
> .
> 2 0   0   3   -0.5*0.015  13.00;
> ]
>
>



RE: benefit function of dispatchable load

2016-09-14 Thread Samuel Perkin
Dear Muhammd,

Your error message is not really an error, but is just a warning statement that 
you shouldn't need to react to. It simply means that the optimisation algorithm 
doesn't require an initial guess of the solution, and therefore any initial 
guess is ignored. This warning message isn't related to dispatchable loads. Did 
you get any other error messages?

Your input for dispatachable load looks fine to me, except I think Qmax (column 
4) should probably be 0 to prevent your loads from acting as 'reactive 
generators'.

Kind regards,

Samuel

-Original Message-
From: bounce-120786253-76238...@list.cornell.edu 
[mailto:bounce-120786253-76238...@list.cornell.edu] On Behalf Of Muhammd Ali 
Mohseni
Sent: 14. september 2016 14:56
To: matpower-l@cornell.edu
Subject: benefit function of dispatchable load

Dear all
According to the Matpower manual (6.4.2 Dispatchable Loads)  approach to 
dispatchable  loads is to model them as negative real power injections with 
associated negative costs. but when I run dcopf I got this error!!!

" MATPOWER Version 6.0b1, 01-Jun-2016 -- DC Optimal Power Flow The 
interior-point-convex algorithm does not accept an initial point.
Ignoring X0."

I set negative output, ranging from 0 to -1000 like this mpc.gen = [ .
1   0   0   100 -1001.05100 1   0-1000  
  0 0   0   0   0   0   0   0   0   0   
0;
]
also I assume that bid function of load like this : aP+ b and benefit function 
of load : 0.5aP^2+bP

mpc.gencost = [
.
2   0   0   3   -0.5*0.015  13.00;
]



benefit function of dispatchable load

2016-09-14 Thread Muhammd Ali Mohseni
Dear all
According to the Matpower manual (6.4.2 Dispatchable Loads)  approach
to dispatchable  loads is to model them as negative real power
injections with associated negative costs. but when I run dcopf I got
this error!!!

" MATPOWER Version 6.0b1, 01-Jun-2016 -- DC Optimal Power Flow
The interior-point-convex algorithm does not accept an initial point.
Ignoring X0."

I set negative output, ranging from 0 to -1000 like this
mpc.gen = [
.
1   0   0   100 -1001.05100 1   0-1000  
  0 0   0   0   0   0   0   0   0   0   
0;
]
also I assume that bid function of load like this : aP+ b and benefit
function of load : 0.5aP^2+bP

mpc.gencost = [
.
2   0   0   3   -0.5*0.015  13.00;
]