Power Tac 0.4 issues.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Power Tac 0.4 issues.

jdknijff
This post was updated on .
I have several issues with the Power Tac server. I’ve summarized them below:

-I’m unable to revoke a tariff without crashing the server (see: http://power-tac-developers.975333.n3.nabble.com/Revoking-a-tariff-causes-errors-td3135783.html )
-The message SimStart is sent after the first TimeslotUpdate is sent. To correct this I have to alter the start time when a new TimeslotUpdate arrives.
-The clearing prices in the orderbooks are not defined. They only seem to be defined when there aren’t any bids or asks and they’re always 20 in that case. I think this worked better in version 0.3, but I’m not completely sure.
-I have to do a grails sweep after every run if I want the server to recognize my tariffs, because when I post tariffs with the same ID as the tariffs I posted in the previous games, the server often thinks I have already posted these tariffs (the error I got seems to indicate this).
-The SimPause and SimResume methods make setting the current time difficult. I cannot get the CurrentTime running at the correct settings again. Altering the start time (which I get from SimResume) does not seem to work.
-In the weather reports the cloud cover is always 0. Is this normal?
Reply | Threaded
Open this post in threaded view
|

Re: Power Tac 0.4 issues.

grampajohn
Administrator
Thanks for your input. Some I can answer, some I'll need your help to work through.

jdknijff wrote
I have several issues with the Power Tac server. I’ve summarized them below:

-I’m unable to revoke a tariff without crashing the server (see: http://power-tac-developers.975333.n3.nabble.com/Revoking-a-tariff-causes-errors-td3135783.html )
It's going to take me some time to work through this. It appears that grails/hibernate is not managing transactions in exactly the way I thought I understood.
-The message SimStart is sent after the first TimeslotUpdate is sent. To correct this I have to alter the start time when a new TimeslotUpdate arrives.
Yes, the first set of open timeslots is sent before the clock starts. Why is this a problem?
-The clearing prices in the orderbooks are not defined. They only seem to be defined when there aren’t any bids or asks and they’re always 20 in that case. I think this worked better in version 0.3, but I’m not completely sure.
Clearing prices were incorrect in 0.3; I believe they are correct in 0.4. The price of 20 is the price of asks from the lowest-cost genco, and if there either no bids, or only bids with a price of 20 or below, that's the correct clearing price.
-I have to do a grails sweep after every run if I want the server to recognize my tariffs, because when I post tariffs with the same ID as the tariffs I posted in the previous games, the server often thinks I have already posted these tariffs (the error I got seems to indicate this).
I'm not sure I understand this. The server is supposed to be clearing and re-initializing its database after the completion of a simulation. Is that not happening? Also it's using an in-memory database, so there can be no leakage between simulations if you stop and re-start the server.
-The SimPause and SimResume methods make setting the current time difficult. I cannot get the CurrentTime running at the correct settings again. Altering the start time (which I get from SimResume) does not seem to work.
The alternative is to use very long timeslots. You should not see a pause/resume in every timeslot, but those allow the server to run pretty much as fast as it can. Beyond that I cannot comment without seeing how you are using these values.
-In the weather reports the cloud cover is always 0. Is this normal?
I see that, and I've started issue #308 to cover it. Thanks.

I hope this helps at least a little bit.

John