The generator offers (in offers.P.prc) are lower than their marginal cost (in 
gencost). Selling below cost results in negative earnings.

   Ray



> On Feb 16, 2017, at 11:37 AM, Ammar Raza <ammaraz...@gmail.com> wrote:
> 
> Actually, I am wondering why I am getting Negative Earning in my output?
> 
> Kind Regard,
> 
> Mohammad Ammar Raza
> 
> 
> 
> 
> On 16 February 2017 at 16:32, Ray Zimmerman <r...@cornell.edu 
> <mailto:r...@cornell.edu>> wrote:
> I have no idea whether the results are what you expect, but it runs fine for 
> me. If you want me to look at it further, please reduce it to a single call 
> to runmarket() (with a specific set of inputs) so that I can reproduce the 
> error. Also, make sure to describe the result you get (what error message if 
> it gives you an error) and what you expected to get.
> 
>     Ray
> 
> 
>> On Feb 16, 2017, at 9:53 AM, Ammar Raza <ammaraz...@gmail.com 
>> <mailto:ammaraz...@gmail.com>> wrote:
>> 
>> can you please look at it.
>> 
>> Kind Regard,
>> 
>> Mohammad Ammar Raza
>> 
>> 
>> 
>> 
>> On 16 February 2017 at 14:44, Ray Zimmerman <r...@cornell.edu 
>> <mailto:r...@cornell.edu>> wrote:
>> I don’t have the case file you are using so I can’t run your example. Also, 
>> I don’t have time to debug your code. If you can reduce it to a single call 
>> to runmarket() that is not behaving as you expect, I’m happy to attempt to 
>> clear up any questions you may have.
>> 
>>    Ray
>> 
>> 
>> 
>>> On Feb 16, 2017, at 6:29 AM, Ammar Raza <ammaraz...@gmail.com 
>>> <mailto:ammaraz...@gmail.com>> wrote:
>>> 
>>> Hello all,
>>> 
>>> I am working on a smart market of a case 30 buses and I wrote a program. 
>>> can you please tell me where I did wrong?
>>> 
>>> thank you
>>> Kind Regard,
>>> 
>>> Mohammad Ammar Raza
>>> 
>>> 
>>> 
>>> <example7.m>
>> 
>> 
>> <example7.m><case30_1.m>
> 
> 

Reply via email to