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

Total Harmonic Distortion in MeterDevice #25

Closed haderazzini closed 8 years ago

haderazzini commented 8 years ago

Hello

I have a site meter which generate samples of the Total Harmonic Distortion every second. I'd like to add it to the data set but the list of physical_quantity in MeterDevice has only {‘power’, ‘energy’, ‘cumulative energy’, ‘voltage’, ‘current’, ‘frequency’, ‘power factor’, ‘state’, ‘phase angle’}.

How I should deal with it?

Regards,

Hader

JackKelly commented 8 years ago

Great question!

We need a new physical_quantity identifier to represented THD. Do you think THD is what we should use? Or perhaps we should go with the longer - but self-documenting - total harmonic distortion

haderazzini commented 8 years ago

I believe total harmonic distortion is better because follows the same pattern in the list.

Could you add temperature too? One of my smart plug samples temperature too. It is designed to work together air conditioners.

JackKelly commented 8 years ago

Good idea. Done.