Monthly Archives: October 2009

WattDepot first release available

As usual, the last 10% took longer than expected, and I spent all last week finishing WattDepot up. It now has all the functionality required by the first WattDepot assignment in ICS 413/613. Virtual sources are working (except for some exceptional cases), and interpolated resources like power, energy, and carbon all work. There’s also a new wiki page explaining how to use the WattDepot client library. To help those unfamiliar with the physical concepts behind electrical power, I wrote a page explaining those concepts. There is now a public distribution of WattDepot available, but no installation documentation so not really useable outside the class context yet.

While getting WattDepot to this point was pretty exhausting, there’s still a laundry list of refactoring and features needed to make it more generally functional. I’ll be working on that this week.

Plans from last week:

  • Finish implementing Power resource GET for a timestamp
    • done
  • Design and implement Energy resource GET for a range of times
    • done
  • Design and implement Carbon resource GET for a range of times
    • done
  • Refactor some of the bogus WattDepot code that has accumulated
    • started, but much more to be done

Other accomplishments from last week:

  • Discovered that PMD failures were not failing Hudson builds for projects derived from hackystat-developer-example. Fixed for wattdepot, oscar-project, and hackystat-developer-example, but others could be lurking.

Pointers to work products:

Plans for this week:

  • Make list of refactoring changes to implement
  • Start designing real persistence layer
  • Make Saunders demo with virtual source Google visualization?
  • Start planning for next 413/613 assignment
  • Write WattDepot server installatoin and configuration wiki page

Cool links:

  • UHM thesis/dissertation LaTeX style. This has been worked on by many hands, and I recently passed on the link to ICS MS student who passed his defense and now needs to work on formatting. 🙂
Advertisements

Oscar support almost done

As planned, the past week has been all about building out the WattDepot functionality required by Oscar, specifically the first assignment using Oscar data in ICS 413/613. I’ve made massive progress, but still not quite finished with the requirements for the assignment. Planning to finish that up today, and then probably do some refactoring and prioritization of additional WattDepot functionality.

Plans from last week:

  • Finish input client for OSCAR data
    • done
  • Design and implement Source summary resource
    • done
  • Implement GET SensorData for a range of times
    • done
  • Design and implement Power resource GET for a timestamp
    • done for normal sources, almost done for virtual sources
  • Design and implement Energy resource GET for a range of times
    • not done
  • Design and implement Carbon resource GET for a range of times
    • not done
  • Implement virtual sources
    • done, though as new features are added they will need virtual source loving

Other accomplishments from last week:

  • Discovered that PMD failures were not failing Hudson builds for projects derived from hackystat-developer-example. Fixed for wattdepot, oscar-project, and hackystat-developer-example, but others could be lurking.

Pointers to work products:

Plans for this week:

  • Finish implementing Power resource GET for a timestamp
  • Design and implement Energy resource GET for a range of times
  • Design and implement Carbon resource GET for a range of times
  • Refactor some of the bogus WattDepot code that has accumulated

Cool links:

BMO data importing, onward to Oscar

It took longer than I had planned for, but I now have a client that polls Building Manager Online for data every 15 minutes, and inputs that data into WattDepot, where it can be displayed in a Google Visualization API graph. Discovered that Saunders’ Acquisuite box is set to only upload meter data every hour, so the graphed data is not as fresh as it could be.

This week has a singular focus: implement all the WattDepot functionality required to support the first ICS 413/613 assignment on WattDepot. Philip has written up the assignment, and now it is just a matter of implementation.

Philip got Google PowerMeter working with his TED 5000, which is cool. Hopefully we can extract data directly from PowerMeter, thus avoiding the need to reconfigure firewalls to allow direct access to the TED.

Plans from last week:

  • Finish WattDepot client for Building Manager Online
    • done, finally
  • Implement input client for OSCAR data
    • in progress, should be done by end of day on Monday
  • Write API for Power resource
    • not done
  • Write API for Carbon resource
    • not done
  • Start implementing Power resource
    • not done

Other accomplishments from last week:

Pointers to work products:

Plans for this week:

  • Finish input client for OSCAR data
  • Design and implement Source summary resource
  • Implement GET SensorData for a range of times
  • Design and implement Power resource GET for a timestamp
  • Design and implement Energy resource GET for a range of times
  • Design and implement Carbon resource GET for a range of times
  • Implement virtual sources

Cool links:

  • None to report.

BMO data import in progress

I got sick early last week, which took the wind out of my sails. I ended up being not nearly as productive as I had hoped. Writing and practicing my presentation to the REIS group also took up some time.

The demo client is well underway, and should be ready to fetch data in the next day or so. After that, I need to write a client to input data from OSCAR, now that Philip has it producing simulated Oahu power grid output. Then I need to design and implement the Power and Carbon resources so the ICS 613 students can work on their projects.

Big news in the DIY smart grid today, as Google announced that the TED 5000 is the first non-utility device supported by Google PowerMeter. Woot!

Plans from last week:

  • Clean up loose ends with visualization API
    • done, found out I was using a reserved word for one of my column index names. Doh!
  • Write WattDepot client for Building Manager Online
    • in progress, lots of refactoring from tabular data input client
  • Embed timeline gadget in web page
    • done, now just need to have some dynamic data in there

Other accomplishments from last week:

  • Presented our Smart Consumer work to the REIS group
  • Prepared some Saunders meter data for Dave Nixon

Pointers to work products:

Plans for this week:

  • Finish WattDepot client for Building Manager Online
  • Implement input client for OSCAR data
  • Write API for Power resource
  • Write API for Carbon resource
  • Start implementing Power resource

Cool links: