Created
June 13, 2019 10:34
-
-
Save nipunbatra/313d870b81e2edca39038673d81f15cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from nilmtk import DataSet | |
ds = DataSet("/home/nipunbatra-pc/Downloads/iawe.h5") | |
elec = ds.buildings[1].elec | |
elec.meters[0].load(chunksize=10) | |
next(elec.meters[0].load(chunksize=10)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [21]: next(elec.meters[0].load(chunksize=10)) | |
Out[21]: | |
physical_quantity power current power | |
type reactive apparent active | |
2013-05-24 05:30:00+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:01+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:02+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:03+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:04+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:05+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:06+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:07+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:08+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:09+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
2013-05-24 05:30:10+05:30 6.000030e-18 6.000030e-18 0.0 0.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment