{"action":"created","issue":{"url":"https://api.github.com/repos/nilmtk/nilmtk/issues/397","labels_url":"https://api.github.com/repos/nilmtk/nilmtk/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/nilmtk/nilmtk/issues/397/comments","events_url":"https://api.github.com/repos/nilmtk/nilmtk/issues/397/events","html_url":"https://github.com/nilmtk/nilmtk/issues/397","id":84041312,"number":397,"title":"Problems running BuildSys 2014 sequence on my own data","user":{"login":"gjwo","id":12109990,"avatar_url":"https://avatars.githubusercontent.com/u/12109990?v=3","gravatar_id":"","url":"https://api.github.com/users/gjwo","html_url":"https://github.com/gjwo","followers_url":"https://api.github.com/users/gjwo/followers","following_url":"https://api.github.com/users/gjwo/following{/other_user}","gists_url":"https://api.github.com/users/gjwo/gists{/gist_id}","starred_url":"https://api.github.com/users/gjwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjwo/subscriptions","organizations_url":"https://api.github.com/users/gjwo/orgs","repos_url":"https://api.github.com/users/gjwo/repos","events_url":"https://api.github.com/users/gjwo/events{/privacy}","received_events_url":"https://api.github.com/users/gjwo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-02T14:09:51Z","updated_at":"2015-06-04T16:03:27Z","closed_at":null,"body":"Now I have some data in the toolkit, I am running tests by following the sequence used for the demo at BuildSys 2014. because I only have one meter and I can't get the wiring diagram tools installed under Windows I have left some steps out.\r\nAll my code and data is up to date on github here https://github.com/gjwo/nilm_gjw_data\r\nThere are two iPython Notebooks, one to run the converter gjw_converter_test.ipynb and one to run the tests test_gjw.ipynb  <--- see this for the full story.  My data should include active & reactive power, and the dataframe did contain this data immediately before storing in the HDF5 datastore (I dumped 6,115,835 rows into a CSV to prove this).\r\n**Problem 1** the power types available don't look right\r\nFind out what power types are available\r\n![image](https://cloud.githubusercontent.com/assets/12109990/7937474/25009b12-0938-11e5-954f-5eace1f860f9.png)\r\n\r\n**Problem 2**\r\ntrying to plot a graph of the usage fails (graphs of good sections worked fine so it's not the install)\r\n![image](https://cloud.githubusercontent.com/assets/12109990/7937583/ba4153f6-0938-11e5-962b-c04b0161a2d0.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12109990/7937621/0d81c37a-0939-11e5-8b95-ef7c1340e1d7.png)\r\n\r\n...\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12109990/7937634/26e7119e-0939-11e5-869b-cfb26bc91f78.png)\r\n\r\nThis leads me to thing I am trying to plot something that is not there\r\nAny guidance would be appreciated"},"comment":{"url":"https://api.github.com/repos/nilmtk/nilmtk/issues/comments/108949213","html_url":"https://github.com/nilmtk/nilmtk/issues/397#issuecomment-108949213","issue_url":"https://api.github.com/repos/nilmtk/nilmtk/issues/397","id":108949213,"user":{"login":"gjwo","id":12109990,"avatar_url":"https://avatars.githubusercontent.com/u/12109990?v=3","gravatar_id":"","url":"https://api.github.com/users/gjwo","html_url":"https://github.com/gjwo","followers_url":"https://api.github.com/users/gjwo/followers","following_url":"https://api.github.com/users/gjwo/following{/other_user}","gists_url":"https://api.github.com/users/gjwo/gists{/gist_id}","starred_url":"https://api.github.com/users/gjwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjwo/subscriptions","organizations_url":"https://api.github.com/users/gjwo/orgs","repos_url":"https://api.github.com/users/gjwo/repos","events_url":"https://api.github.com/users/gjwo/events{/privacy}","received_events_url":"https://api.github.com/users/gjwo/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T16:03:27Z","updated_at":"2015-06-04T16:03:27Z","body":"I seem to be missing my meter\r\nIn [27]:\r\n\r\nmains = elec.mains()\r\nIn [28]:\r\n\r\nm = mains.meters[1]\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-28-93c0486167e7> in <module>()\r\n----> 1 m = mains.meters[1]\r\n\r\nAttributeError: 'ElecMeter' object has no attribute 'meters'\r\n\r\nThis is the relevant section of building1.yaml metadata\r\n\r\nelec_meters:\r\n  1:\r\n    site_meter: true\r\n    name: house_total\r\n    room: utility\r\n    submeter_of: 0\r\n    device_model: ED01013  # keys into meter_devices dictionary\r\n    data_location: /building1/elec/meter1\r\n\r\nand meter devices.yaml\r\nED01013:\r\n  model: ED01013\r\n  manufacturer: Onzo Ltd\r\n  manufacturer_url: http://www.onzo.com/\r\n  description: Multifunction whole house meter and home display, \r\n    #given the different sample rates and cumulative energy mixed, phase one treat the meter\r\n    #as having only 2 measurements power real fine and power reactive, comment out the rest\r\n  sample_period: 1 # the interval between samples. In seconds.\r\n  max_sample_period: 300 # Max allowable interval between samples. Seconds.\r\n  measurements:\r\n  #- physical_quantity: cumulative energy   #energy low res - cumulative energy use every 35 minutes approximately\r\n    #type: active   # active (real power), reactive or apparent?\r\n    #upper_limit: 10000000\r\n    #lower_limit: 0\r\n  #- physical_quantity: cumulative energy   #energy high res - cumulative energy use every 10 minutes approximately\r\n    #type: active   # active (real power), reactive or apparent?\r\n    #upper_limit: 10000000\r\n    #lower_limit: 0\r\n  #- physical_quantity: power   #power real standard - power granularity < 30 Seconds\r\n    #type: apparent   # active (real power), reactive or apparent?\r\n    #upper_limit: 10000\r\n    #lower_limit: 0\r\n  - physical_quantity: power   #power real fine - power granularity  1 Second (no data if no change)\r\n    type: apparent   # active (real power), reactive or apparent?\r\n    upper_limit: 10000\r\n    lower_limit: 0\r\n  - physical_quantity: power   #power reactive standard granularity  1 Second (no data if no change)\r\n    type: reactive   \r\n    upper_limit: 10000\r\n    lower_limit: -10000\r\n**But the meter didn't appear in the building metadata listed**\r\nI also got this which looked OK\r\nIn [18]:\r\n\r\nelec.meters\r\n​\r\nOut[18]:\r\n[ElecMeter(instance=1, building=1, dataset='gjwdata', site_meter, appliances=[Appliance(type='washing machine', instance=1), Appliance(type='tumble dryer', instance=1), Appliance(type='freezer', instance=1), Appliance(type='boiler', instance=1), Appliance(type='light', instance=1), Appliance(type='light', instance=2), Appliance(type='clothes iron', instance=1), Appliance(type='food steamer', instance=1), Appliance(type='kettle', instance=1), Appliance(type='toaster', instance=1), Appliance(type='coffee maker', instance=1), Appliance(type='microwave', instance=1), Appliance(type='electric oven', instance=1), Appliance(type='fridge', instance=1), Appliance(type='dish washer', instance=1), Appliance(type='waste disposal unit', instance=1), Appliance(type='water filter', instance=1), Appliance(type='fan', instance=1), Appliance(type='light', instance=3), Appliance(type='mobile phone charger', instance=1), Appliance(type='television', instance=1), Appliance(type='server computer', instance=1), Appliance(type='wireless phone charger', instance=1), Appliance(type='light', instance=4), Appliance(type='light', instance=5), Appliance(type='light', instance=6), Appliance(type='vacuum cleaner', instance=1), Appliance(type='vacuum cleaner', instance=2), Appliance(type='television', instance=2), Appliance(type='blu-ray player', instance=1), Appliance(type='light', instance=7), Appliance(type='light', instance=8), Appliance(type='audio system', instance=1), Appliance(type='CD player', instance=1), Appliance(type='light', instance=9), Appliance(type='light', instance=10), Appliance(type='light', instance=11), Appliance(type='plate warmer', instance=1), Appliance(type='light', instance=12), Appliance(type='motor', instance=1), Appliance(type='light', instance=13), Appliance(type='electric space heater', instance=1), Appliance(type='light', instance=14), Appliance(type='light', instance=15), Appliance(type='water pump', instance=1), Appliance(type='CE appliance', instance=1), Appliance(type='CE appliance', instance=2)])]\r\n"}}