I suggest taking a look at the About section of our website and the subsection on how this works. Further reading about the underlying software is linked from there as well.
http://www.gridrepublic.org/index.php?page=about