Announcement: 1.4.1 release available

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Announcement: 1.4.1 release available

grampajohn
Administrator
Dear colleagues -

Today we completed the release of  version 1.4.1 of the Power TAC server and sample broker. This is the version of the server that will run the 2017 competition. Please see the Release Notes for details on what has changed, and for download links.

If you already have a working broker, the changes are minimal, and if testing with the new server shows no problems, then you can almost certainly ignore this update from the standpoint of broker-server compatibility. On the other hand, the new broker setup uses newer versions of a number of critical libraries; you can incorporate these updates by copying over the changed elements of the pom.xml file.

If you are still working on your broker, the new sample-broker code includes an example of handling regulation transactions. The incorporation of regulation transactions into customer usage tracking has measurably improved the performance of the 1.4.1 sample-broker over the 1.3.x versions.

The primary broker-visible change in the server is that the wholesale market now uses a more realistic model in which the demand represented by the Power TAC simulation scenario accounts for about 9% of the total demand rather than 100% as in the past. The result is a flatter supply price curve and substantially less market power for individual brokers.

Best of luck in the upcoming competition.

John
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

serkan
Hi John,

I think there is a small problem with repos. "factored-customer-1.4.1.jar" file is not there, even though it is written in the index page of the folder (https://repo.maven.apache.org/maven2/org/powertac/factored-customer/1.4.1/).

See the output below

[INFO] ------------------------------------------------------------------------
[INFO] Building Power TAC distribution 1.4.1
[INFO] ------------------------------------------------------------------------
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/powertac/factored-customer/1.4.1/factored-customer-1.4.1.pom
Downloading: https://repo.maven.apache.org/maven2/org/powertac/factored-customer/1.4.1/factored-customer-1.4.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/powertac/factored-customer/1.4.1/factored-customer-1.4.1.pom (2 KB at 14.4 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/powertac/factored-customer/1.4.1/factored-customer-1.4.1.jar
Downloading: https://repo.maven.apache.org/maven2/org/powertac/factored-customer/1.4.1/factored-customer-1.4.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.782 s
[INFO] Finished at: 2017-03-21T16:28:53+01:00
[INFO] Final Memory: 15M/454M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project server-distribution: Could not resolve dependencies for project org.powertac:server-distribution:pom:1.4.1: Could not find artifact org.powertac:factored-customer:jar:1.4.1 in sonatype (https://oss.sonatype.org/content/repositories/snapshots/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

erikkemperman
Hi Serkan,

I noticed the same thing earlier today, for some reason deploying to maven central did not go all the way for factored-customer. I've notified John about this.

In the mean time I think you should be able to get around this by adding the releases repository from sonatype (where the factored-customer release was deployed properly).

In the server-distribution pom.xml, add something like this within the <repositories> element:

<repository>
       <id>sonatype-releases</id>
      <url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>

The situation should be temporary... Apologies for the inconvenience!

Erik
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

grampajohn
Administrator
In reply to this post by serkan
serkan wrote
I think there is a small problem with repos. "factored-customer-1.4.1.jar" file is not there, even though it is written in the index page of the folder (https://repo.maven.apache.org/maven2/org/powertac/factored-customer/1.4.1/).
Hello, Serkan -

Thank you for pointing this out. I'm not sure what happened, but I think I know how to fix it. It will take a bit of time. In the meantime, it will work to run the system using the new visualizer (mvn -Pweb2) because the download for that bundles all the components together. I failed to test using mvn -Pcli before announcing the release; I apologize.

By the way, we don't see your registration for the upcoming trial run that starts on the 27th.

I'll respond again once I can see the factored-customer module on maven central.

John
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

grampajohn
Administrator
In reply to this post by serkan
serkan wrote
I think there is a small problem with repos...
This turns out to have been a problem at maven central (Sonatype Nexus). The factored-customer jar is now accessible, but it seems that customer-models/pom.xml has the same problem. It shows up in the directory, but 404 error on download. I'm working with Sonatype support on this. In the meantime, it works with the web interface mvn -Pweb2. Thanks for your patience.

John
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

erikkemperman
It looks like the customer-models is now also available, hopefully that was the last of the problematic modules!

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

grampajohn
Administrator
erikkemperman wrote
It looks like the customer-models is now also available, hopefully that was the last of the problematic modules!
Yes, that problem was not visible until the factored-customer problem was resolved. I now have the server running in cli mode, so it looks like this is fully resolved. This is the first time we have had a problem with releasing code to maven central, so it took a while to understand what was going on. Thanks again for your patience.

John
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

Ansel
In reply to this post by grampajohn
Hi John

I have a doubt after reading your comment:

"The primary broker-visible change in the server is that the wholesale market now uses a more realistic model in which the demand represented by the Power TAC simulation scenario accounts for about 9% of the total demand rather than 100% as in the past. The result is a flatter supply price curve and substantially less market power for individual brokers."

In the wholesale market you have 24 opportunities to negotiate energy for an objective hour. My question is:

Is the 9 percent for each opportunity or for the sum of the energy traded in the 24 opportunities?

Thanks in advance

Ansel
COLD TEAM
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Announcement: 1.4.1 release available

grampajohn
Administrator
Ansel wrote
"The primary broker-visible change in the server is that the wholesale market now uses a more realistic model in which the demand represented by the Power TAC simulation scenario accounts for about 9% of the total demand rather than 100% as in the past. The result is a flatter supply price curve and substantially less market power for individual brokers."

In the wholesale market you have 24 opportunities to negotiate energy for an objective hour. My question is:

Is the 9 percent for each opportunity or for the sum of the energy traded in the 24 opportunities?
If you run a game and look at the trading in the wholesale market, you will see that the new MisoBuyer purchases its expected needs 24h in advance, and then adjusts its amount by small increments as the weather forecast becomes more certain. So virtually all the additional demand shows up and is cleared at the first opportunity, 24h out. During the remaining 23 trading cycles for a given timeslot, brokers will see the portion of the supply curve that remains after this demand is cleared.

Does this make sense?

John

Loading...