Thursday, 12 June 2014

New data sets released by WikiEnergy and University of California, Berkley

I've recently come across two new data sets which have been released in the past month:

WikiEnergy data


Pecan Street Inc have released a large amount of domestic electricity data via the WikiEnergy project. The data set currently contains data from 200 homes, in which both the household aggregate power demand and individual appliance power demands are monitored at 1 minute intervals. The data set currently contains 4 months of data from January-April 2014, although more data is likely to be released soon. The data is freely available to University members of the WikiEnergy community, and full details for database access can be found on the WikiEnergy Knowledge Base after registering.

BERDS - BERkeley EneRgy Disaggregation Data Set


The University of California, Berkley, have released electricity data collected from the Cory Hall on the UC Berkeley campus. The data set contains data collected from 4 categories of sub-metered loads: lighting, HVAC, receptacle (sockets) and other, for which many feeds are available for each load category. The data set contains measurements of active, reactive and apparent power which were collected at 20 second intervals. The data is available for free via Mehdi Maasoumy's website, and a paper briefly describing the data set appeared at the Big Learning workshop at NIPS 2013.

I've updated my blog post of publicly available data sets to include both of these releases.

Sunday, 1 June 2014

Attending NILM 2014

I'm really excited to be travelling to Austin tomorrow to attend NILM 2014. I'm particularly looking forward to meeting other people working in the field, so please come and introduce yourself if you're also attending! I've been involved in two papers which will be presented at the workshop:

  1. A Scalable Non-intrusive Load Monitoring System for Fridge-Freezer Energy Efficiency Estimation. Oliver Parson, Mark Weal, Alex Rogers. This paper summarises the final chapter of my thesis, which covers a large scale application of my work to 117 UK households. I'll be presenting this work in the 'new perspectives' afternoon session of the workshop, and also as a poster in the poster session at the end of the workshop.
  2. NILMTK: An Open Source Toolkit for Non-intrusive Load Monitoring. Nipun Batra, Jack Kelly, Oliver Parson, Haimonti Dutta, William Knottenbelt, Alex Rogers, Amarjeet Singh, Mani Srivastava. This paper summarises the initial release of NILMTK; an open source toolkit for energy disaggregation research. This will be presented by Jack Kelly as a 30 minute demo in the final session of the workshop, and also as a poster in the following poster session.

I'll also be attending the Pecan Street WikiEnergy Data conference on the 4th of June, which also promises a very exciting list of speakers.

See you all in Texas!

Thursday, 22 May 2014

UK energy disaggregation meet-up

The field of energy disaggregation has expanded so much since I started my PhD in 2010, with new companies and research groups joining the field nearly every week. As a result, it's becoming increasingly difficult to keep track of who is working in this space, even when those people are working in your own country. The NILM workshops are starting to address this by bringing the international community together in Austin, Texas, although I'm sure the inherent cost of travel will prohibit some people attending the workshop.

For this reason, I've been talking with Peter Davies of Green Running, and we are keen to organise an event to provide the opportunity to meet other people working in the field of energy disaggregation in the UK. It will likely be 1 day event held this July in London, free for anyone to attend, and feature a range of presentations and demos, as well as many opportunities for networking. We have a location in central London already to host the event which should hopefully encourage attendees.

Please let us know via email (osp@ecs.soton.ac.uk or p.davies@greenrunning.com) if you would be interested in attending this event, and also feel free to pass on this information on to anyone else who might be interested.

Thursday, 15 May 2014

NILM 2014 workshop schedule released

The schedule for the NILM 2014 workshop in Austin has just been released. The workshop will include 3 sessions of paper presentations, a set of lightning talks and poster presentations, an invited keynote from Shankar Sasty, and a demo NILMTK. I'm really excited about the workshop, and look forward to seeing you there!

Friday, 9 May 2014

Training disaggregation algorithms without sub-metered data

I'm keen to include an unsupervised disaggregation algorithm (one that doesn't require appliance data for training) in NILMTK. At the moment, the toolkit only include two supervised benchmark disaggregation algorithms, which I think really limits its usefulness. This post is intended to be a first step towards a simple, intuitive and robust approach to learn models of household appliances using only household aggregate data. I would be really interested in any feedback from the community regarding any improvements or extensions.

Extracting step changes and clustering via a Gaussian mixture model

The approach can be summarised as follows:
  1. Extract a set of step changes by taking the differences between sequential aggregate power readings
  2. Take the absolute value of these differences such that both positive and negative step changes are identical
  3. Discard small step changes (e.g. < 200 W) since there is too much noise at this range to extract any meaningful structure
  4. Discard large step changes (e.g. > 3000 W) since these are most likely generated by multiple appliances changing state simultaneously.
  5. Cluster the remaining set of step changes using a Gaussian mixture model

Evaluation using data from real households

I applied this approach to data set of aggregate data collected from real households. Unfortunately, the data set does not contain any sub-metered data from such households, so no quantitative results can be provided regarding its accuracy. However, a visual inspection of the extracted step changes and identified clusters shows some encouraging results.

This approach worked very well on some houses, such as the one shown below. The plot shows a black and white histogram of the extracted step changes, in which peaks corresponding to appliances are clearly visible at roughly 1000 W, 1800 W, and 2300 W. The plot also shows coloured probability density functions (PDFs) corresponding to the clusters found. Interestingly, the clustering algorithm successfully finds the three appliances, as shown by the cyan and yellow curves. However, it's also worth noting that many other clusters were found which do not correspond to appliances.

Click to enlarge

There were also households in which no structure was present in the extracted step changes, and as a result none of the clusters correspond to individual appliances, such as the plot shown below. This is likely due to a large amount of measurement noise in the aggregate data, or a number of appliances with highly variable step changes.

Click to enlarge

Conclusions and future work

These experiments have shown that even a very simple model can successfully learn models for appliances using only aggregate data. However, it has also shown that the performance is likely to vary widely between different houses. An important challenge that has not been tackled here is that of labelling identified clusters, e.g. cyan cluster = lighting, red cluster = noise.

Thursday, 1 May 2014

Thesis code release

Today I'm releasing the code I wrote for the experiments in my thesis. The code includes an implementation of a Bayesian hidden Markov model, and its application to various appliance modelling tasks. The implementation is in C# and uses the Infer.NET framework for Bayesian inference. The input data I used came from the Tracebase and REDD data sets, and therefore I have not included it in the code release. As a result, I think the BayesianHMM class is probably the most useful to the community.


The code can be found via a link on my publications page.

Wednesday, 23 April 2014

Paper accepted at NILM 2014

My paper titled 'A Scalable Non-intrusive Load Monitoring System for Fridge-Freezer Energy Efficiency Estimation' was recently accepted for presentation at NILM 2014. The paper gives an overview of chapter 6 of my thesis, which describes a case study deployment of the theory presented in my thesis applied to the disaggregation of fridge/freezers in 117 households in the UK. This involved the collection of a huge amount of aggregate electricity data, for which we used AlertMe current clamps as shown below:

AlertMe current clamp

Here is the full abstract of the paper:

In this paper we propose an approach by which the energy efficiency of individual appliances can be estimated from an aggregate load. To date, energy disaggregation research has presented results for small data sets of 7 households or less, and as a result the generality of results are often unknown. In contrast, we have deployed household electricity sensors to 117 households and evaluated the accuracy by which our approach can identify the energy efficiency of refrigerators and freezers from an aggregate load. Crucially, our approach does not require training data to be collected by sub-metering individual appliances, nor does it assume any knowledge of the appliances present in the household. Instead, our approach uses prior models of general appliance types that are used to first identify which households contain either a combined fridge-freezer or separate refrigerator and freezer, and subsequently to estimate the energy efficiency of such appliances. Finally, we calculate the time until the energy savings of replacing such appliances have offset the cost of the replacement appliance, which we show can be as low as 2.5 years.