nilmtk / nilm_metadata

A schema for modelling meters, measurements, appliances, buildings etc
http://nilm-metadata.readthedocs.org
Apache License 2.0
49 stars 47 forks source link

Documentation inconsistent in modeling multi-phase site meters #26

Open davidwe opened 7 years ago

davidwe commented 7 years ago

What should be assigned to submeter_of if you have a 3-phase main meter and you know to which specific line the submeters are connected?

The 3-phase main meter is modeled as the first three entries in the dict elec_meters, which are all site_meters.

So which is the right way to do it?

JackKelly commented 7 years ago

If you know the specific phase each submeter is connected to then please specify the precise site meter. (i.e. option 1 in your list)

Please only use submeter_of=0 if you don't know which exact site meter is upstream. This is the case in REDD: we don't know which of the two site meters is upstream of each submeter.

davidwe commented 7 years ago

Okay, that is also the way I have done it. Thanks for the quick response!

I was asking that because I get RuntimeError: Tree has more than one root! when calling for example elec.describe() from nilmtk on my dataset. Do I have to read that error as "not implemented yet" or "you modeled your electric installation wrong"? Do I maybe have to split the network into three subtrees manually?