WattDepot storage layer coming along

This is the first blog post of the fall semester, and finds me still grinding away on the WattDepot implementation. Things are going well, but not at the pace I would like. I’m supposed to have everything working by mid-September, which is going to require a major push.

Last week I finished the database abstraction layer, and wrote a memory-only database implementation. This will allow me to continue to push forward on all fronts while I figure out CouchDB. I’m still working on the tests of the DB layer, which should test the CouchDB storage as well as the memory implementation.

Philip pointed out last week that WattDepot needs some higher level resources to support the functionality needed for ICS 413/613. Specifically, it needs an Energy resource that can report on the energy produced or consumed by a Source over a period of time, and a Carbon resource that can compute the carbon emissions of a Source, given its carbon intensity (GHG emitted in g of CO2E per kWh). Both these new computed resources need to be added to the REST API, and then implemented.

Plans from last week:

  • Write DB abstraction layer
    • done
  • Implement simple memory storage of data
    • done, but still writing tests
  • Work on User resource
    • not done
  • Attend first REIS seminar this Thursday 4:30-5:30 PM
    • done

Other accomplishments from last week:

  • Met Blue Planet Foundation folks about their upcoming conservation contest
  • Realized that workshop in Florida I was thinking about attending is in October!
  • Became primary ICS representative to the GSO

Pointers to work products:

Plans for this week:

  • Finish writing DbManager tests
  • Implement User resource
  • Implement Source resource
  • Start reading CouchDB manual
  • Install CouchDB
  • Add Energy resource to REST API
  • Videotape REIS seminar
  • Write followup email to Blue Planet

Cool links:

  • None
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s