Hi,It's Martin again!
I found the insect. It works now, but a new question arose from it.

The reason for the error was that I had pushed the values in
bids.P.prc too high!
Even though I had bigger values for the limit entered in the casefile
this was the cause of the problem.

I wanted to simulate the loads beeing totally inelastic and not tie
down the generators competition that I'm simulating.
I must have misunderstood how the auction works. I thought that
bids.P.prc held the maximum price per Mw accepted by the corresponding
load. But something goes horribly wrong when I push those values too
high.

So,first I wonder what those values are used for.
Secondly I am curious on exactly how the LMP:s are calculated (the
values in co.P.prc). Both for DC and AC. I am using last accepted
offer mode, but how are prices inherited between the areas? Even when
using DC (lossless) the prices sometimes differ from pricelevels that
are offered.
I am using t_auction_case.m.

Thank you
/
Martin Elfstadius

Reply via email to