{"id":50539,"date":"2022-06-19T09:56:45","date_gmt":"2022-06-19T09:56:45","guid":{"rendered":"https:\/\/loopbeatzz.info\/wp\/a-data-model-and-file-format-to-represent-and-store-high-frequency-energy-monitoring-and-disaggregation-datasets-scientific-reports-nature-com\/"},"modified":"2022-06-19T09:56:45","modified_gmt":"2022-06-19T09:56:45","slug":"a-data-model-and-file-format-to-represent-and-store-high-frequency-energy-monitoring-and-disaggregation-datasets-scientific-reports-nature-com","status":"publish","type":"post","link":"https:\/\/loopbeatzz.info\/wp\/a-data-model-and-file-format-to-represent-and-store-high-frequency-energy-monitoring-and-disaggregation-datasets-scientific-reports-nature-com\/","title":{"rendered":"A data model and file format to represent and store high frequency energy monitoring and disaggregation datasets | Scientific Reports &#8211; Nature.com"},"content":{"rendered":"<p>Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain             the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in             Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles             and JavaScript.<br \/>Advertisement<br \/>                              <a data-test=\"journal-link\" href=\"\/srep\"><i data-test=\"journal-title\">Scientific Reports<\/i><\/a>                          <b data-test=\"journal-volume\"><span class=\"u-visually-hidden\">volume<\/span>\u00a012<\/b>, Article\u00a0number:\u00a0<span data-test=\"article-number\">10284<\/span> (<span data-test=\"article-publication-year\">2022<\/span>)             <a href=\"#citeas\" class=\"c-article-info-details__cite-as u-hide-print\" data-track=\"click\" data-track-action=\"cite this article\" data-track-label=\"link\">Cite this article<\/a>                     <br \/><a href=\"\/articles\/s41598-022-14517-y\/metrics\" data-track=\"click\" data-track-action=\"view metrics\" data-track-label=\"link\" rel=\"nofollow\">Metrics <span class=\"u-visually-hidden\">details<\/span><\/a><br \/>There is a generalized consensus in the Non-Intrusive Load Monitoring research community on the importance of public datasets for improving this research field. Still, despite the considerable efforts to release public data, what is currently available suffers from serious issues, among which is the lack of widely accepted data models and common interfaces to access the currently available and future datasets. This paper proposes the Energy Monitoring and Disaggregation Data Format (EMD-DF64). EMD-DF64 is a data model, file format, and application programming interface developed to provide a unique interface to create, manage, and access high-frequency (\u2265\u00a01\u00a0Hz) electric energy consumption datasets. More precisely, the present paper describes the data model and its respective implementation, which was done by leveraging the well-known Sony WAVE64 format that supports the storage of audio data and metadata annotations.<br \/>Non-Intrusive Load Monitoring (NILM), or more generally load\/energy disaggregation, is a promising approach for enabling a cost-effective way of providing detailed information about the energy consumption of individual appliances<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 1\" title=\"Hart, G. Prototype nonintrusive appliance load monitor. Tech. Rep., MIT Energy Laboratory Technical Report, and Electric Power Research Institute Technical Report (1985).\" href=\"\/articles\/s41598-022-14517-y#ref-CR1\" id=\"ref-link-section-d97502694e339\">1<\/a><\/sup>. The availability of public datasets opens new prospects for this technology, helping researchers create more systematic evaluation processes that can be used across different approaches, similar to what happened in other application domains of machine learning like face and speech recognition<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 2\" title=\"Zeifman, M. &amp; Roth, K. Nonintrusive appliance load monitoring: Review and outlook. IEEE Trans. Consumer Electron. 57, 76\u201384. &#xA;                  https:\/\/doi.org\/10.1109\/TCE.2011.5735484&#xA;                  &#xA;                 (2011).\" href=\"\/articles\/s41598-022-14517-y#ref-CR2\" id=\"ref-link-section-d97502694e343\">2<\/a><\/sup>.<br \/>Nevertheless, despite the tremendous efforts in releasing public datasets as reviewed in<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 3\" title=\"Pereira, L. &amp; Nunes, N. Performance evaluation in non-intrusive load monitoring: Datasets, metrics, and tools-a review. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 8, e1265 (2018).\" href=\"\/articles\/s41598-022-14517-y#ref-CR3\" id=\"ref-link-section-d97502694e350\">3<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 4\" title=\"Himeur, Y., Alsalemi, A., Bensaali, F. &amp; Amira, A. Building power consumption datasets: Survey, taxonomy and future directions. Energy Build. 227, 110404. &#xA;                  https:\/\/doi.org\/10.1016\/j.enbuild.2020.110404&#xA;                  &#xA;                 (2020).\" href=\"\/articles\/s41598-022-14517-y#ref-CR4\" id=\"ref-link-section-d97502694e353\">4<\/a><\/sup>, not many steps have been taken towards homogenizing the way these are made available and accessible to the community. In fact, Several data formats have been employed to store NILM datasets, with Comma-separated values (CSV) emerging has one of the most used formats given the simplicity of the data representation, e.g.,<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Gao, J., Giri, S., Kara, E.\u00a0C. &amp; Berg\u00e9s, M. PLAID: a public dataset of high-resolution electrical appliance measurements for load identification research: demo abstract. In Proceedings of the 1st ACM Conference on Embedded Systems for Energy-Efficient Buildings, BuildSys \u201914, (ACM, New York, NY, USA, 2014). &#xA;                  https:\/\/doi.org\/10.1145\/2674061.2675032&#xA;                  &#xA;                \" href=\"#ref-CR5\" id=\"ref-link-section-d97502694e357\">5<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" title=\"Makonin, S., Ellert, B., Baji\u0107, I. V. &amp; Popowich, F. Electricity, water, and natural gas consumption of a residential house in Canada from 2012 to 2014. Sci. Data 3, 160037 &#xA;                  https:\/\/doi.org\/10.1038\/sdata.2016.37&#xA;                  &#xA;                 (2016).\" href=\"#ref-CR6\" id=\"ref-link-section-d97502694e357_1\">6<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 7\" title=\"Murray, D., Stankovic, L. &amp; Stankovic, V. An electrical load measurements dataset of United Kingdom households from a two-year longitudinal study. Sci. Data 4, 160122 (2017).\" href=\"\/articles\/s41598-022-14517-y#ref-CR7\" id=\"ref-link-section-d97502694e360\">7<\/a><\/sup>. Yet, many other formats were adopted, namely HDF5<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 8\" title=\"Kriechbaumer, T. &amp; Jacobsen, H.-A. BLOND, a building-level office environment dataset of typical electrical appliances. Sci. Data 5, 180048. &#xA;                  https:\/\/doi.org\/10.1038\/sdata.2018.48&#xA;                  &#xA;                 (2018).\" href=\"\/articles\/s41598-022-14517-y#ref-CR8\" id=\"ref-link-section-d97502694e364\">8<\/a><\/sup>, relational databases<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 9\" title=\"Batra, N., Gulati, M., Singh, A. &amp; Srivastava, M.\u00a0B. It\u2019s different: insights into home energy consumption in India. In Proceedings of the 5th ACM Workshop on Embedded Systems For Energy-Efficient Buildings, BuildSys\u201913, 3:1\u20133:8, (ACM, 2013). &#xA;                  https:\/\/doi.org\/10.1145\/2528282.2528293&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR9\" id=\"ref-link-section-d97502694e368\">9<\/a><\/sup>, as well as audio\/video formats such as FLAC<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 10\" title=\"Kelly, J. &amp; Knottenbelt, W. The UK-DALE dataset, domestic appliance-level electricity demand and whole-house demand from five UK homes. Sci. Data 2, 150007 &#xA;                  https:\/\/doi.org\/10.1038\/sdata.2015.7&#xA;                  &#xA;                 (2015).\" href=\"\/articles\/s41598-022-14517-y#ref-CR10\" id=\"ref-link-section-d97502694e372\">10<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 11\" title=\"Kahl, M., UI\u00a0Haq, A., Kriechbaumer, T. &amp; Hans-Arno, J. WHITED\u2014A worldwide household and industry transient energy data set. In 3rd International NILM Workshop (2016).\" href=\"\/articles\/s41598-022-14517-y#ref-CR11\" id=\"ref-link-section-d97502694e375\">11<\/a><\/sup>, WAVE<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 12\" title=\"Pereira, L., Nunes, N. &amp; Berg\u00e9s, M. SURF and SURF-PI: a file format and API for non-intrusive load monitoring public datasets. In Proceedings of the 5th International Conference on Future Energy Systems, e-Energy \u201914, 225\u2013226, (ACM, 2014). &#xA;                  https:\/\/doi.org\/10.1145\/2602044.2602078&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR12\" id=\"ref-link-section-d97502694e380\">12<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 13\" title=\"Ribeiro, M., Pereira, L., Quintal, F. &amp; Nunes, N. SustDataED: a public dataset for electric energy disaggregation research. In Proceedings of ICT for Sustainability 2016, Advances in Computer Science Research, 244\u2013245, (Atlantis Press, 2016). &#xA;                  https:\/\/doi.org\/10.2991\/ict4s-16.2016.36&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR13\" id=\"ref-link-section-d97502694e383\">13<\/a><\/sup>, and Matroska Media Containers<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 14\" title=\"V\u00f6lker, B., Scholl, P.\u00a0M. &amp; Becker, B. Semi-automatic generation and labeling of training data for non-intrusive load monitoring. In Proceedings of the Tenth ACM International Conference on Future Energy Systems, e-Energy \u201919, 17\u201323, (ACM, 2019). 10\/gf32w9\" href=\"\/articles\/s41598-022-14517-y#ref-CR14\" id=\"ref-link-section-d97502694e387\">14<\/a><\/sup>. A direct consequence of the variety of data formats is that in order to use a dataset, researchers first have to understand the underlying structure of the data and produce code to interface with their algorithms. In fact, in<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 15\" title=\"Klemenjak, C. et\u00a0al. Electricity consumption data sets: pitfalls and opportunities. In Proceedings of the 6th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation, BuildSys \u201919, 159\u2013162, (ACM, 2019).\" href=\"\/articles\/s41598-022-14517-y#ref-CR15\" id=\"ref-link-section-d97502694e391\">15<\/a><\/sup> the authors have identified the lack of convergence regarding a storage file format as one of the main challenges to NILM dataset interoperability.<br \/>Against this background, some research efforts have been devoted to homogenize existing datasets and provide a single interface to run evaluations. Two examples of such efforts are the Metadata proposal for NILM datasets<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 16\" title=\"Kelly, J. &amp; Knottenbelt, W. Metadata for energy disaggregation. In 2014 IEEE 38th International Computer Software and Applications Conference Workshops, 578\u2013583, (2014) &#xA;                  https:\/\/doi.org\/10.1109\/COMPSACW.2014.97&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR16\" id=\"ref-link-section-d97502694e398\">16<\/a><\/sup>, and the Non-Intrusive Load Monitoring Toolkit (NILMTK)<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 17\" title=\"Batra, N. et\u00a0al. NILMTK: an open source toolkit for non-intrusive load monitoring. In Proceedings of the 5th International Conference on Future Energy Systems, e-Energy \u201914, 265\u2013276, (ACM, 2014). &#xA;                  https:\/\/doi.org\/10.1145\/2602044.2602051&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR17\" id=\"ref-link-section-d97502694e402\">17<\/a><\/sup>. The two projects have been combined to form the NILMTK-DF, the data format supported by NILMTK that relies on HDF5, and the metadata structure proposed in<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 16\" title=\"Kelly, J. &amp; Knottenbelt, W. Metadata for energy disaggregation. In 2014 IEEE 38th International Computer Software and Applications Conference Workshops, 578\u2013583, (2014) &#xA;                  https:\/\/doi.org\/10.1109\/COMPSACW.2014.97&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR16\" id=\"ref-link-section-d97502694e406\">16<\/a><\/sup>. Another example is the NilmDB project<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 18\" title=\"Paris, J., Donnal, J. S. &amp; Leeb, S. B. NilmDB: The non-intrusive load monitor database. IEEE Trans. Smart Grid 5, 2459\u20132467. &#xA;                  https:\/\/doi.org\/10.1109\/TSG.2014.2321582&#xA;                  &#xA;                 (2014).\" href=\"\/articles\/s41598-022-14517-y#ref-CR18\" id=\"ref-link-section-d97502694e410\">18<\/a><\/sup>, which provides a generalized user interface to access, query, and analyze large time-series datasets, including NILM data. The underlying timestamped data is organized hierarchically and must follow a data stream layout (the number of columns and corresponding data type) determined when a data stream is created. Besides the time series data, NilmDB also supports attaching metadata in the form of key\/value pairs.<br \/>In<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 19\" title=\"Pereira, L. EMD-DF: A data model and file format for energy disaggregation datasets. In Proceedings of the 4th ACM International Conference on Systems for Energy-Efficient Built Environments (ACM, 2017).\" href=\"\/articles\/s41598-022-14517-y#ref-CR19\" id=\"ref-link-section-d97502694e417\">19<\/a><\/sup> we proposed the Energy Monitoring and Disaggregation Data Format (EMD-DF), a standard data model and file format developed with the intent to represent and store high-frequency datasets (i.e., sampling rate greater or equal to 1\u00a0Hz). In EMD-DF, the datasets are represented using the well-known Waveform Audio File Format (WAVE) (see <a href=\"http:\/\/fileformats.archiveteam.org\/wiki\/WAV\">http:\/\/fileformats.archiveteam.org\/wiki\/WAV<\/a>). The idea of using an audio-based format to represent electric energy data was inspired by previous works where sound-cards are used to perform the acquisition of the current and voltage signals<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 10\" title=\"Kelly, J. &amp; Knottenbelt, W. The UK-DALE dataset, domestic appliance-level electricity demand and whole-house demand from five UK homes. Sci. Data 2, 150007 &#xA;                  https:\/\/doi.org\/10.1038\/sdata.2015.7&#xA;                  &#xA;                 (2015).\" href=\"\/articles\/s41598-022-14517-y#ref-CR10\" id=\"ref-link-section-d97502694e428\">10<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 20\" title=\"Pereira, L., Quintal, F., Nunes, N. &amp; Berg\u00e9s, M. The design of a hardware-software platform for long-term energy eco-feedback research. In ACM SIGCHI Symposium on Engineering Interactive Computing Systems, EICS \u201912, 221\u2013230, (ACM, 2012). &#xA;                  https:\/\/doi.org\/10.1145\/2305484.2305521&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR20\" id=\"ref-link-section-d97502694e431\">20<\/a><\/sup>, and have been shown to perform considerably well given the similarities to electricity waveforms<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 21\" title=\"Kriechbaumer, T., Jorde, D. &amp; Jacobsen, H.-A. Waveform signal entropy and compression study of whole-building energy datasets. In Proceedings of the Tenth ACM International Conference on Future Energy Systems, 58\u201367, (ACM, 2019).\" href=\"\/articles\/s41598-022-14517-y#ref-CR21\" id=\"ref-link-section-d97502694e435\">21<\/a><\/sup>. Furthermore, being an extension of the Resource Interchange File Format (RIFF) (see <a href=\"http:\/\/fileformats.archiveteam.org\/wiki\/RIFF\">http:\/\/fileformats.archiveteam.org\/wiki\/RIFF<\/a>), the WAVE format has several properties that are desirable in the context of NILM datasets. More particularly: <br \/>The consumption data, ground-truth, and metadata are all stored in the same file, thus limiting the number of artifacts to be managed;<br \/>The resulting files are optimized to have very little overhead. Furthermore, since the sampling rate is fixed, only the initial timestamp is necessary to obtain the time of the remaining samples;<br \/>It is an uncompressed lossless format, i.e., all the original values of the data are kept untouched. Furthermore, it is fully compatible with audio-compression libraries such as WavPack (see <a href=\"https:\/\/www.wavpack.com\/\">https:\/\/www.wavpack.com\/<\/a>);<br \/>It is possible to extend the format at any time with additional chunks without breaking the file consistency, i.e., a WAVE file with additional chunks will consistently be recognized as a WAVE file. Hence backward compatibility with previously developed applications is guaranteed;<br \/>Finally, there is a diversity of mature programming interfaces to work with audio content, thus facilitating dataset manipulation and portability across different programming environments.<br \/>However, extending the WAVE file format comes with two major limitations: <br \/>To avoid having to store individual timestamps for each sample, the data must not contain missing values. Therefore, missing data is handled separately, either by: (i) resampling whenever possible, i.e., when the number of missed samples is short and sparse, (ii) break the datasets in different files when missing big blocks of data, and (iii) resampling and breaking into multiple files when the missed data is both sparse and with large gaps.<br \/>The WAVE specification uses a 32-bit unsigned integer to represent the file size header. As such, dataset files are limited to a maximum of 4 GB. This is equivalent to roughly 248 days of two 16-bit channels sampled at 50 Hz. Still, there are datasets with sample rates in the order of kHz. For example, BLUED<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 22\" title=\"Anderson, K. et\u00a0al. BLUED: a fully labeled public dataset for event-based non-intrusive load monitoring research. In Proceedings of the 2nd KDD Workshop on Data Mining Applications in Sustainability (SustKDD), 1\u20135 (2012).\" href=\"\/articles\/s41598-022-14517-y#ref-CR22\" id=\"ref-link-section-d97502694e536\">22<\/a><\/sup> was sampled at 12 kHz, meaning that each data file can only represent around 16 h of the three 16-bit channels (i.e., two currents phases and one voltage phase).<br \/>In this paper, we present a 64-Bit version of EMD-DF (EMD-DF64) by including support to the Sony WAVE64 (see <a href=\"http:\/\/fileformats.archiveteam.org\/wiki\/Sony_Wave64\">http:\/\/fileformats.archiveteam.org\/wiki\/Sony_Wave64<\/a>) file format. Ultimately, this leads to a maximum file size of approximately 16 exabytes, which is equivalent to roughly 21 years of three 16-bits channels sampled at 4.3 GHz). Furthermore, EMD-DF64 was developed to support missing data by default, which is achieved by adding additional chunks to represent such gaps.<br \/>In the remainder of this paper, we first present a data model that supports EMD-DF64. Then, we present the data structure, which is an extension of the 64 bit Sony Wave64 file container. Then, we thoroughly describe how the data model and data structure are combined to form the EMD-DF64 file format. Finally, we discuss how the proposed data format contributes to the ongoing efforts to homogenized electricity consumption datasets.<br \/>The data model that supports EMD-DF and EMD-DF64 is comprised of several data entities that should be present in a dataset to make it suitable for NILM research. Figure\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"\/articles\/s41598-022-14517-y#Fig1\">1<\/a> shows an illustration of the proposed data model using the Unified Modeling Language (UML) (see <a href=\"https:\/\/www.uml.org\/\">https:\/\/www.uml.org\/<\/a>) notation. Overall, there are three main data entities: (1) <i>consumption<\/i>, (2) <i>ground-truth<\/i>, and (3) <i>annotations<\/i>. These are described next.<br \/>EMD-DF64: Data model overview.<br \/>The <i>consumption<\/i> entity represents all the data elements that refer to energy consumption time-series. Consumption data can be of two different types: (i) <i>raw waveforms<\/i>, i.e., current and voltage; or (ii) <i>processed waveforms<\/i>, i.e., different metrics like real and reactive power. Furthermore, consumption data can represent both <i>aggregated<\/i> and <i>disaggregated<\/i> consumption. Finally, the latter can represent the consumption of individual appliances (e.g., a kettle) or an individual circuit (e.g., kitchen outlets that may or not contain the kettle). It is important to remark that all the entities that refer to consumption data are optional (cardinality of 0 or more) to cover as many variations of NILM datasets as possible. For example, BLUED contains only aggregated consumption data, while SustDataED<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 13\" title=\"Ribeiro, M., Pereira, L., Quintal, F. &amp; Nunes, N. SustDataED: a public dataset for electric energy disaggregation research. In Proceedings of ICT for Sustainability 2016, Advances in Computer Science Research, 244\u2013245, (Atlantis Press, 2016). &#xA;                  https:\/\/doi.org\/10.2991\/ict4s-16.2016.36&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR13\" id=\"ref-link-section-d97502694e624\">13<\/a><\/sup> contains aggregated and individual appliance consumption. Likewise, RAE<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 23\" title=\"Makonin, S., Wang, Z. J. &amp; Tumpach, C. RAE: The rainforest automation energy dataset for smart grid meter data analysis. Data 3, 8. &#xA;                  https:\/\/doi.org\/10.3390\/data3010008&#xA;                  &#xA;                 (2018).\" href=\"\/articles\/s41598-022-14517-y#ref-CR23\" id=\"ref-link-section-d97502694e628\">23<\/a><\/sup> contains data for aggregated, individual appliances and individual circuit consumption. Finally, it is also possible to find datasets that do not contain any form of aggregated consumption, e.g., PLAID<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 24\" title=\"Medico, R. et al. A voltage and current measurement dataset for plug load appliance identification in households. Sci. Data 7, 1\u201310. &#xA;                  https:\/\/doi.org\/10.1038\/s41597-020-0389-7&#xA;                  &#xA;                 (2020).\" href=\"\/articles\/s41598-022-14517-y#ref-CR24\" id=\"ref-link-section-d97502694e632\">24<\/a><\/sup> , Tracebase<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 25\" title=\"Reinhardt, A. et\u00a0al. On the accuracy of appliance identification based on distributed load metering data. In 2012 Sustainable Internet and ICT for Sustainability (SustainIT), 1\u20139 (2012).\" href=\"\/articles\/s41598-022-14517-y#ref-CR25\" id=\"ref-link-section-d97502694e636\">25<\/a><\/sup> and GREEND<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 26\" title=\"Monacchi, A., Egarter, D., Elmenreich, W., D\u2019Alessandro, S. &amp; Tonello, A.\u00a0M. GREEND: an energy consumption dataset of households in Italy and Austria. In 2014 IEEE International Conference on Smart Grid Communications (SmartGridComm), 511\u2013516, (2014). &#xA;                  https:\/\/doi.org\/10.1109\/SmartGridComm.2014.7007698&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR26\" id=\"ref-link-section-d97502694e640\">26<\/a><\/sup>.<br \/>On the right-hand side of Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"\/articles\/s41598-022-14517-y#Fig1\">1<\/a> is the <i>ground-truth<\/i> entity. This entity is mandatory on a NILM dataset, and can be of four different types: (i) <i>individual appliance consumption<\/i>, (ii) <i>individual circuit consumption<\/i>, (iii) <i>appliance activity<\/i>, and (iv) <i>user activity<\/i>. Individual appliance and individual circuit consumption are a special type of consumption data used to train, test, and validate event-less approaches. On the other hand, appliance activities provide information about the power events that exist on a dataset and are required to train, validate, and test event-based approaches.<br \/>We have also introduced the concept of user activities, which is straightforward terms refer to actions that people perform involving the use of electric appliances, e.g., doing the laundry (involves clothes washer, clothes dryer, and iron) or preparing a meal (oven, stove, microwave, aid choppers, and blenders). Such user activities are important to evaluate different NILM application domains, e.g., Non-Intrusive Activity Detection (NIAD)<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 27\" title=\"Reinhardt, A. &amp; Klemenjak, C. Device-free user activity detection using non-intrusive load monitoring: a case study. In Proceedings of the 2nd ACM Workshop on Device-Free Human Sensing, DFHS\u201920, 1\u20135, (Association for Computing Machinery). &#xA;                  https:\/\/doi.org\/10.1145\/3427772.3429391&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR27\" id=\"ref-link-section-d97502694e669\">27<\/a><\/sup>, and the detection of abnormal consumption behaviors<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Bousbiat, H., Klemenjak, C., Leitner, G. &amp; Elmenreich, W. Augmenting an assisted living lab with non-intrusive load monitoring. In 2020 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), 1\u20135, &#xA;                  https:\/\/doi.org\/10.1109\/I2MTC43012.2020.9128406.&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR28\" id=\"ref-link-section-d97502694e673\">28<\/a><\/sup>. It is important to note that one individual appliance activity can only be associated with one user activity (cardinality of 0 or 1). Otherwise, the total consumption of the user activities will be larger than the total consumption of the individual appliances, thus introducing inconsistency to the data model.<br \/>Lastly, we have the <i>annotations<\/i> entity. There are three types of optional annotations: (1) <i>RIFF Meta<\/i>, which are the default metadata chunks defined by RIFF, (2) <i>comments<\/i>, consisting of free text, and 3) user-defined <i>metadata<\/i>. The latter can be either which can be either <i>local metadata<\/i>, which refers to specific samples in the consumption data, or <i>custom metadata<\/i> annotations defined by the dataset creator and can serve multiple purposes. For example, in the current implementation, it is possible to provide a list with details for individual appliances and user activities and embed the annotations from the NILM metadata project.<br \/>In EMD-DF64, the different data entities are represented by extending the 64-bit Sony WAVE64 (SW64) file format. SW64 is an application of the RIFF in which the file contents are grouped and stored in separate chunks. Each chunk consists of three components: (1) chunk identifier\u2014128-bit globally unique identifier (GUID), e.g., \u201cfmt\u201d and \u201cdata\u201d; (2) an unsigned, little-endian 64-bit integer representing the length of the chunk; (3) the chunk data. Finally, like all other RIFF-based formats, if a chunk\u2019s data size is not even, it is padded by 1 byte to make it so.<br \/>A WAVE64 file is composed of several chunks, four of which are mandatory. Furthermore, in a correctly formatted WAVE64 file, the first four bytes (GUID) must always spell out \u201criff\u201d (lower-case). Some of the W64 chunks are briefly described in Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"\/articles\/s41598-022-14517-y#Tab1\">1<\/a>, with a particular focus on those reused in the EMD-DF data model. For more details about the RIFF standard, please refer to the original project documentation in<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 29\" title=\"Multimedia Programming Interface and Data Specifications 1.0. Tech. Rep.(IBM Corporation and Microsoft Corporation, 1991).\" href=\"\/articles\/s41598-022-14517-y#ref-CR29\" id=\"ref-link-section-d97502694e714\">29<\/a><\/sup>.<br \/>The EMD-DF64 file format is based on 20 chunks. One directly inherited from the RIFF standard (<i>Info<\/i>), nine from the WAVE64 format (<i>Format<\/i>, <i>Data<\/i>, <i>Cue<\/i>, <i>List<\/i>, <i>Associated Data List<\/i>, <i>Label<\/i>, <i>Note<\/i> and <i>Labeled Text Chunk<\/i>), and the remaining 10 are custom chunks. The chunk structure of EMD-DF64 is illustrated in Fig.\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"\/articles\/s41598-022-14517-y#Fig2\">2<\/a>. Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"\/articles\/s41598-022-14517-y#Tab2\">2<\/a> provides a description of the 10 custom chunks.<br \/>Chunk structure of the EMD-DF 64 file format.<br \/>Next, we present how the different chunks that compose the EMD-DF64 data structure are combined to create a dataset. We first describe how the data format is defined in the Format and Config chunks. Then we show how the power measurements are stored and supplemented with the different embedded annotations.<br \/>The waveform data (i.e., consumption data) must be defined in the <i>Format<\/i> chunk. This is inherited from the W64 format and consists of the following fields: (i) <i>sample size<\/i> in bits (8, 16, 24, 32 or 64 bits); and (ii) <i>number of individual channels<\/i> (greater or equal to 1).<br \/>Additionally, all the sub-chunks defined in the <i>Config<\/i> list chunk are mandatory. More precisely: (i) <i>timezone<\/i> (the time zone of the location where the data was collected), (ii) <i>timestamp<\/i> (the Unix timestamp of the first sample in the waveform data), (iii) <i>sampling rate<\/i> (the number of samples per second in the waveform data), and (iv) <i>calibration constants<\/i> (zero or one for each waveform channel). The calibration constant chunks are associated to each channel in ascending order. For the model to be valid, the number of calibration chunks must be zero (i.e., no calibration is needed) or equal to the number of individual channels.<br \/>The consumption data are represented using the <i>Data<\/i>, <i>Missing Data List<\/i>, and <i>Missing Data<\/i> chunks. The <i>Missing Data List<\/i> wraps sequences of <i>Missing Data<\/i> chunks to support datasets with missing data.<br \/>Waveform data are stored uncompressed in <i>Data<\/i> chunks. If only one metric needs to be represented (this is the case in most individual appliance and circuit ground-truth data), the samples are stored consecutively; otherwise the samples are stored interleaved. Each sample <i>S<\/i> is represented by a value between \u2212\u00a01 and 1. Samples are stored in little-endian format (i.e., the least significant byte is stored first). The bits that represent the sample amplitude are stored in the most significant bits of <i>S<\/i>, and the remaining bits are set to zero.<br \/>Intervals with missing data are represented using the <i>Missing Data<\/i> chunk. Each of these chunks contains a JSON string with information about the timestamp when data is again available, and the number of the sample where this happens.<br \/>Since we do not store the timestamp of each individual sample, this has to be calculated in run-time. This is done using Eq. (<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"equation anchor\" href=\"\/articles\/s41598-022-14517-y#Equ1\">1<\/a>), which returns a Unix timestamp in milliseconds:<br \/>Where <i>current_sample<\/i> is the position of the sample of interest, <i>initial_sample<\/i> is the position of the first sample (if there are no missing data chunks the first sample is 1, otherwise it is the initial sample of the corresponding missing data chunk). <i>initial_unix_timestamp<\/i> is the unix timestamp of the first sample (if there are no missing data it is given by the Timezone chunk, otherwise it is calculated from the corresponding missing data chunk). Finally, <i>f<\/i> is the sampling rate of the waveform data.<br \/>Conversely, it is possible to convert a unix timestamp to a sample position. This is done using Eq. (<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"equation anchor\" href=\"\/articles\/s41598-022-14517-y#Equ2\">2<\/a>):<br \/>Where <i>actual_timestamp<\/i> is the timestamp in milliseconds to be mapped to an audio position, <i>initial_timestamp<\/i> is the timestamp in milliseconds of the first sample in the dataset, and <i>f<\/i> is the sampling rate of the waveform data.<br \/>Individual appliance activities correspond to the changes in the power consumption that are triggered by different appliance turning ON, OFF, or changing their working mode (e.g., low to high).<br \/>Individual appliance activity (i.e., power events), are embedded in the file using the <i>Cue<\/i>, <i>Associated Data List<\/i> and <i>Label<\/i> chunks. This is done as follows: (1) For each power event, an entry is added in the Cue chunk, (2) for each Cue chunk entry, a Label chunk is created and added to the Associated Data List chunk.<br \/>Each label chunk consists of a sample position in the waveform data and a JSON formatted string with the details of the respective activity. The sample position is calculated from the power event timestamp using Eq.\u00a0(<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"equation anchor\" href=\"\/articles\/s41598-022-14517-y#Equ2\">2<\/a>): For example, the JSON in Listing 2 corresponds to a refrigerator activity that was mapped to position 19394633:<br \/>User activities refer to actions that are performed involving the use of electric appliances, e.g., doing the laundry (involves clothes washer, clothes dryer and iron) or preparing a meal (oven, stove, microwave, aid choppers, blenders, etc.).<br \/>User activities are supplemented in the consumption data using the <i>Cue<\/i>, <i>Associated Data List<\/i> and <i>Labeled Text chunks<\/i>. This is done as follows: (1) For each user activity, an entry is added in the Cue chunk, (2) for each Cue chunk entry, a Labeled text chunk is created and added to the Associated Data List chunk.<br \/>Each labeled text chunk consists of a sample position in the waveform data, a duration in samples, and a JSON formatted string with the details of the respective activity. Listing 3 shows a JSON representing the \u201cworking on the computer\u201d activity that involves using the desktop computer (App_ID: 1101), one monitor (App_ID: 1109) and a printer (App_ID: 1203). The duration in samples is obtained by subtracting the start from the end position of the activity. The sample positions are calculated from the timestamps using Eq.\u00a0(<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"equation anchor\" href=\"\/articles\/s41598-022-14517-y#Equ2\">2<\/a>).<br \/>Since EMD-DF64 is a direct application of the RIFF standard, it fully supports all the default RIFF metadata sub-chunks that are defined in the <i>Info<\/i> chunk. These are used to supplement general annotations, and include among others, <i>Creator<\/i>, <i>Commissioner<\/i>, <i>Copyright<\/i>, and <i>Keywords<\/i>. The RIFF metadata chunks supported in EMD-DF64 are listed in Table\u00a0<a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"\/articles\/s41598-022-14517-y#Tab3\">3<\/a>.<br \/>Local metadata annotations can be used for instance to supplement datasets with details like the instant when a new appliance is added or removed from the electric circuit. Local metadata are used to supplement specific consumption samples with custom annotations. For instance, when a new appliance is added or removed from the electric circuit as shown in JSON Listing 4.<br \/>A note chunk consists of a sample position and a JSON formatted string. Notes are created using the <i>Cue<\/i>, <i>Additional Data List<\/i> and <i>Note<\/i> chunks as follows: (1) For each local annotation, an entry is added to the Cue chunk, (2) for each entry in the Cue chunk, a Note chunk is added to the Associated Data List chunk.<br \/>These custom chunks can be used to enrich datasets with custom metadata. They are added using the <i>Annotation List<\/i> and <i>Metadata<\/i> chunks.<br \/>The content of such chunks do not follow any specific rule, yet it must be encoded in JSON and always include the ID and Label fields. EMD-DF64 fully supports three different custom metadata types: (i) <i>appliances<\/i>; (ii) <i>user activities<\/i>; and (iii) <i>NILM metadata<\/i> project annotations.<br \/>Keeps a list of the appliances that co-exist in the dataset, including the appliance characteristics like brand, model, energy consumption and energy efficiency rating. Listing 5 shows a possible JSON representation of the appliances metadata chunk.<br \/>Keeps a list of the user activities that are present in the dataset, including a list of the appliances that can be associated with each activity. An example is provided in Listing 6.<br \/>It is also possible to supplement datasets with annotations from the NILM metadata project. To this end we have defined the NILM Metadata Project annotation that can be used to embed the content of the different YAML files that compose the NILM Metadata project, in a metadata chunk. An example annotation is provided in Listing 7.<br \/>Custom comment chunks consist of free form text and are created using the <i>Annotation List<\/i> and <i>Comment<\/i> chunks. These can be used to add any kind of comments, for example, add a comment containing the historic of previous performance evaluations results on that particular file or dataset. Another example would be, adding a comment regarding some external event that could have affected the data.<br \/>Since most of the annotation data will be done using the JSON format we have decided to use JSON schemas (see <a href=\"http:\/\/json-schema.org\/\">http:\/\/json-schema.org\/<\/a>) to describe the JSON data elements presented in the previous sub-section. Listing 8 shows a snippet of the JSON-Schema for the appliance activity labels.<br \/>The present version of EMD-DF64 was implemented using the Java programming language. This is an open-source project that can be found in an online repository (see <a href=\"https:\/\/gitlab.com\/alspereira\/EMD-DF\">https:\/\/gitlab.com\/alspereira\/EMD-DF<\/a>). Online documentation is also available (see <a href=\"https:\/\/manelpereira.gitlab.io\/emd-df-documentation\/\">https:\/\/manelpereira.gitlab.io\/emd-df-documentation\/<\/a>).<br \/>The UML class diagram of EMD-DF64 is provided in Fig. <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"figure anchor\" href=\"\/articles\/s41598-022-14517-y#Fig3\">3<\/a>. The library is composed of three main packages: <span class=\"u-monospace\">de.sciss.io<\/span>, <span class=\"u-monospace\">emddf.file<\/span>, and <span class=\"u-monospace\">emddf.api<\/span>.<br \/>EMD-DF64 class diagram.<br \/>The <span class=\"u-monospace\">de.sciss.io<\/span> package is responsible for the audio file I\/O and provides also the core classes to add ground-truth annotations (<span class=\"u-monospace\">Marker<\/span> and <span class=\"u-monospace\">Region<\/span>). This package was reused from the ScissLib project (see <a href=\"https:\/\/github.com\/Sciss\/ScissLib\">https:\/\/github.com\/Sciss\/ScissLib<\/a>).<br \/>The <span class=\"u-monospace\">emddf.file<\/span> package provides all the basic structures to represent EMD-DF and EMD-DF64 files. The <span class=\"u-monospace\">EMDDFAudioFiles<\/span> allows reading and writing the audio files. The supported formats are Waveform Audio File Format (WAVE) and Sony Wave64 (W64), which support the EMD-DF, and EMD-DF64 formats, respectively. The <span class=\"u-monospace\">EMDDFFileDescr<\/span> class provides the data structure that describes the format of an <span class=\"u-monospace\">EMDDFAudioFile<\/span>. These two classes were adapted from the ScissLib project classes <span class=\"u-monospace\">AudioFile<\/span> and <span class=\"u-monospace\">AudioFileDescr<\/span>. The remaining classes provide the basic structure to define the different EMD-DF and EMD-DF64 chunks.<br \/>The <span class=\"u-monospace\">emddf.api<\/span> package provides an API to manage EMD-DF and EMD-DF64 files. The API was developed around the four basic operations of persistent storage: Create; Read; Update; Delete (CRUD). The API also offers a <span class=\"u-monospace\">brige<\/span> to map the EMDDF-64 behavior in different programming languages.<br \/>Finally, the <span class=\"u-monospace\">emddf.demo<\/span> package provides concrete application examples of this EMD-DF64 implementation. Presently there are three demos: i) <span class=\"u-monospace\">Explorer<\/span> that provides a command-line interface to explore different EMD-DF64 datasets, ii) <span class=\"u-monospace\">BLUED<\/span> that shows a concrete example of adding ground-truth labels to an EMD-DF6 dataset, and iii) <span class=\"u-monospace\">SustDataED<\/span> that provides a concrete example of handing missing data in EMD-DF64 datasets. These three demos are brifly described in Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"\/articles\/s41598-022-14517-y#Tab4\">4<\/a>.<br \/>All the modern programming languages (e.g., Python, C++, and MATLAB) have built-in mechanisms to handle audio files. To make the integration with other programming languages easier, a Java Bridge was developed, to expose the functionalities of EMDDF-64. To exemplify its usage, two demos were were developed and released together with EMDDF-64. The first demo uses Python, leveraging the pyemddf (see <a href=\"https:\/\/pypi.org\/project\/pyemddf\/\">https:\/\/pypi.org\/project\/pyemddf\/<\/a>) package. The second demo, was developed for MATLAB and leverages the External Language Interfaces (see <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/using-java-libraries-in-matlab.html\">https:\/\/www.mathworks.com\/help\/matlab\/using-java-libraries-in-matlab.html<\/a>). The two demos are briefly described in Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"\/articles\/s41598-022-14517-y#Tab4\">4<\/a>.<br \/>As mentioned in the introduction, one of the key advantages of using an audio format to store high-frequency datasets is the overall file size reduction. Therefore, this section presents a comparative analysis of three audio formats, namely, Free Lossless Audio Codec (FLAC), WAVE, and W64. FLAC was introduced in<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 10\" title=\"Kelly, J. &amp; Knottenbelt, W. The UK-DALE dataset, domestic appliance-level electricity demand and whole-house demand from five UK homes. Sci. Data 2, 150007 &#xA;                  https:\/\/doi.org\/10.1038\/sdata.2015.7&#xA;                  &#xA;                 (2015).\" href=\"\/articles\/s41598-022-14517-y#ref-CR10\" id=\"ref-link-section-d97502694e2992\">10<\/a><\/sup> to store the UK-DALE, whereas WAVE and W64 are the two formats that support EMD-DF and EMD-DF64, respectively.<br \/>The comparisons are performed using the Fully Labeled Public Dataset for Event-Based Non-Intrusive Load Monitoring Research (BLUED), considering the raw current and voltage waveforms. The original BLUED distribution contains one week of energy consumption of a two-phase electric system from a household in the United States. The current and voltage signals were sampled at 12 kHz, and are available in text files (.txt) containing a timestamp and the values for current (phase A and B), and voltage (phase A). Before conversion, the raw current and voltage waveforms were scaled to \u2212\u00a01 and 1 by dividing each sample by the maximum value of each signal (75 and 180, respectively). Then, the scaled waveforms were converted to FLAC, WAVE, and W64 using the dsCleaner library<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 30\" title=\"Pereira, M., Velosa, N. &amp; Pereira, L. dsCleaner: A python library to clean, preprocess and convert non-intrusive load monitoring datasets. Data 4, 123. &#xA;                  https:\/\/doi.org\/10.3390\/data4030123&#xA;                  &#xA;                 (2019).\" href=\"\/articles\/s41598-022-14517-y#ref-CR30\" id=\"ref-link-section-d97502694e2999\">30<\/a><\/sup>. The following format parameters were used: sampling rate: 12 kHz, sample size: 16 bits and number of channels: 2 (current and voltage). Individual files were created for each phase, by assuming that the voltage of phase B is the voltage of phase A shifted by <span class=\"mathjax-tex\">(90^{circ })<\/span>.<br \/>For comparison, the following quantities were considered: (1) the number of files based on the maximum file size; (2) the total size (in GB), (3) compressed size using WavPack compression. The results are summarized in Table <a data-track=\"click\" data-track-label=\"link\" data-track-action=\"table anchor\" href=\"\/articles\/s41598-022-14517-y#Tab5\">5<\/a>.<br \/>As expected, the three audio formats enable a very significant decrease in the dataset size without losing any information. In the case of FLAC the reduction is around 92%, whereas for WAVE and W64 the reduction is 82% and 85%, respectively. However, it should be stressed that FLAC is at its core an audio compression tool, hence the considerably lower size of the resulting files. Therefore, to achieve a fair comparison, the WavPack audio compressor tool was used to compress the WAVE and W64 files. Ultimately, this resulted in a reduction in the file size of 90%, and 91% for WAVE, and W64, respectively.<br \/>Finally, regarding the number of files, it was possible to represent the entire dataset in two files (one per phase) when using the W64 format. As for the WAVE format, due to the limitations of the 32-bits header, it was necessary to break the dataset into 7 files for each phase. Finally, in the case ofFLAC, it was not possible to merge the files using the dsClearner API since read\/write operations are not allowed in the FLAC format. Instead, external software, e.g., Audacity (see <a href=\"https:\/\/www.audacityteam.org\/\">https:\/\/www.audacityteam.org\/<\/a>), would be required to perform the merge operation manually.<br \/>EMD-DF64 was developed to help mitigate the lack of homogeneity across existing electricity consumption datasets, which poses significant challenges for researchers intending to use datasets comparatively.<br \/>In<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 15\" title=\"Klemenjak, C. et\u00a0al. Electricity consumption data sets: pitfalls and opportunities. In Proceedings of the 6th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation, BuildSys \u201919, 159\u2013162, (ACM, 2019).\" href=\"\/articles\/s41598-022-14517-y#ref-CR15\" id=\"ref-link-section-d97502694e3222\">15<\/a><\/sup>, the authors offered 17 suggestions for improving the collection, storage, and provision of electricity datasets. Next, we briefly discuss how EMD-DF64 promotes adopting some of those suggestions from a data storage and representation point of view.<br \/><i>Suggestion 5: gaps and irregularities<\/i> EMD-DF64 supports missing data by default. Furthermore, by indicating the timestamps with missing data, it is straightforward to implement data cleaning strategies such as data interpolation. Local metadata can also be used to annotate regions where data is out of distribution (e.g., considerable changes to the voltage signal).<br \/><i>Suggestion 10: annotation of traces of event\/activity information<\/i> EMD-DF64 supports embedded annotations for both appliances (labels) and user activities (labeled text) by default. Furthermore, local metadata (notes) can be used to embed information on relevant changes, e.g., addition\/removal\/replacement of an appliance or changes to the number of household members.<br \/><i>Suggestion 12: metadata formatted in reusable machine way\/easy processing<\/i> In EMD-DF64, metadata is represented using JSON, a widely used data-interchange format. Besides that, it is lightweight (e.g., compared to XML) and easy for humans to read and write. Furthermore, to remove ambiguity and errors when labeling the dataset, the annotations are validated using JSON schemas before being embedded in the data files.<br \/><i>Suggestion 14: compatibility of formats with software and compression<\/i> By extending an audio format, it is possible to take advantage of the many audio libraries available in the different programming languages. For instance, in our particular case, we provide a Java implementation of EMD-DF64, which can be easily integrated with Python using the pyemddf package.<br \/>As for compression, EMD-DF64 is fully compatible with the WavPack audio compression format, which provides both lossless and hybrid (i.e., lossy with the possibility of complete restoration) compression modes. The compression ratio depends on the source material but generally is between 30% and 70%. For example, using SustDataED, we have observed compression rates of 52% for raw current and voltage waveforms sampled at 12.8 kHz. On the other hand, a rate of 70% was achieved for active power, reactive power, current, and voltage measurements sampled at 50\u00a0Hz.<br \/>This paper presented a 64-bits file format for representing and storing high-frequency energy monitoring and disaggregation datasets. While we are fully aware that another format alone is not enough to solve the problem of lack of convergence between file formats in NILM research, we believe that in the era of big data, datasets will not only grow in volume but also in variety. Thus, it is necessary to provide mechanisms that are already optimized to handle such high volumes of data while also supporting a wide variety of mechanisms for metadata annotations, which is the case of audio file formats.<br \/>While different file formats have been proposed in the past, as summarized<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 15\" title=\"Klemenjak, C. et\u00a0al. Electricity consumption data sets: pitfalls and opportunities. In Proceedings of the 6th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation, BuildSys \u201919, 159\u2013162, (ACM, 2019).\" href=\"\/articles\/s41598-022-14517-y#ref-CR15\" id=\"ref-link-section-d97502694e3261\">15<\/a><\/sup>, one of the main challenges is to increase the adoption by the research community. To this end, in immediate future work, we will integrate EMD-DF64 datasets in the Non-Intrusive Load Monitoring Toolkit (NILMTK) pipeline. This will not only increase the visibility of EMD-DF64 but also mitigate one of the current limitations of NILMTK which is the fact that the underlying NILMTK Data Format (NILMTK-DF) is not adequate to handle high-frequency datasets.<br \/>One of the limitations of EMD-DF64 is the fact that it does not support dataset querying by default, which is supported in alternative formats like relational databases and Hierarchical Data Format (HDF5). Therefore, another important future research direction would be to extend the API module with query operations. For example, loading the consumption waveforms that are associated with a given user activity. Furthermore, this query language should also allow the integration between aggregated and individual appliance consumption, which lies in different EMD-DF64 files.<br \/>Finally, it should be noted that although the current work deals with electricity consumption datasets, all the underlying concepts can be extended to support other types of time-series data. Moreover, since most of the annotations are added using JSON strings, any adaptation to other types of datasets should be very straightforward.<br \/>All the data necessary to run the demo applications (BLUED and SustDataED) are available in the projects\u2019 OSF repository<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 31\" title=\"Pereira, L., Pereira, M. &amp; Velosa, N. EMD-DF64: A 64-Bit File Format for Energy Monitoring and Disaggregation Datasets (2021). &#xA;                  https:\/\/doi.org\/10.17605\/OSF.IO\/D7EBX&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR31\" id=\"ref-link-section-d97502694e3298\">31<\/a><\/sup>. All the datasets used in the demo applications are available from the corresponding author on reasonable request. Please refer to the original publications for additional details.<br \/>The present version of EMD-DF64 was implemented using the Java programming language. The EMD-DF64 implementation is released under the GNU General Public License (GPL) 3.0. Source-code and documentation are available in the project page at the Open Science Framework (OSF)<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 31\" title=\"Pereira, L., Pereira, M. &amp; Velosa, N. EMD-DF64: A 64-Bit File Format for Energy Monitoring and Disaggregation Datasets (2021). &#xA;                  https:\/\/doi.org\/10.17605\/OSF.IO\/D7EBX&#xA;                  &#xA;                \" href=\"\/articles\/s41598-022-14517-y#ref-CR31\" id=\"ref-link-section-d97502694e3310\">31<\/a><\/sup>.<br \/>Hart, G. Prototype nonintrusive appliance load monitor. Tech. Rep., MIT Energy Laboratory Technical Report, and Electric Power Research Institute Technical Report (1985).<br \/>Zeifman, M. &amp; Roth, K. Nonintrusive appliance load monitoring: Review and outlook. <i>IEEE Trans. Consumer Electron.<\/i> <b>57<\/b>, 76\u201384. <a href=\"https:\/\/doi.org\/10.1109\/TCE.2011.5735484\">https:\/\/doi.org\/10.1109\/TCE.2011.5735484<\/a> (2011).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1109%2FTCE.2011.5735484\" aria-label=\"Article reference 2\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 2\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=Nonintrusive%20appliance%20load%20monitoring%3A%20Review%20and%20outlook&amp;journal=IEEE%20Trans.%20Consumer%20Electron.&amp;doi=10.1109%2FTCE.2011.5735484&amp;volume=57&amp;pages=76-84&amp;publication_year=2011&amp;author=Zeifman%2CM&amp;author=Roth%2CK\">                     Google Scholar<\/a>\u00a0                 <br \/>Pereira, L. &amp; Nunes, N. Performance evaluation in non-intrusive load monitoring: Datasets, metrics, and tools-a review. <i>Wiley Interdiscip. Rev. Data Min. Knowl. Discov.<\/i> <b>8<\/b>, e1265 (2018).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1002%2Fwidm.1265\" aria-label=\"Article reference 3\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 3\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=Performance%20evaluation%20in%20non-intrusive%20load%20monitoring%3A%20Datasets%2C%20metrics%2C%20and%20tools-a%20review&amp;journal=Wiley%20Interdiscip.%20Rev.%20Data%20Min.%20Knowl.%20Discov.&amp;volume=8&amp;publication_year=2018&amp;author=Pereira%2CL&amp;author=Nunes%2CN\">                     Google Scholar<\/a>\u00a0                 <br \/>Himeur, Y., Alsalemi, A., Bensaali, F. &amp; Amira, A. Building power consumption datasets: Survey, taxonomy and future directions. <i>Energy Build.<\/i> <b>227<\/b>, 110404. <a href=\"https:\/\/doi.org\/10.1016\/j.enbuild.2020.110404\">https:\/\/doi.org\/10.1016\/j.enbuild.2020.110404<\/a> (2020).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1016%2Fj.enbuild.2020.110404\" aria-label=\"Article reference 4\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 4\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=Building%20power%20consumption%20datasets%3A%20Survey%2C%20taxonomy%20and%20future%20directions&amp;journal=Energy%20Build.&amp;doi=10.1016%2Fj.enbuild.2020.110404&amp;volume=227&amp;publication_year=2020&amp;author=Himeur%2CY&amp;author=Alsalemi%2CA&amp;author=Bensaali%2CF&amp;author=Amira%2CA\">                     Google Scholar<\/a>\u00a0                 <br \/>Gao, J., Giri, S., Kara, E.\u00a0C. &amp; Berg\u00e9s, M. PLAID: a public dataset of high-resolution electrical appliance measurements for load identification research: demo abstract. In <i>Proceedings of the 1st ACM Conference on Embedded Systems for Energy-Efficient Buildings<\/i>, BuildSys \u201914, (ACM, New York, NY, USA, 2014). <a href=\"https:\/\/doi.org\/10.1145\/2674061.2675032\">https:\/\/doi.org\/10.1145\/2674061.2675032<\/a><br \/>Makonin, S., Ellert, B., Baji\u0107, I. V. &amp; Popowich, F. Electricity, water, and natural gas consumption of a residential house in Canada from 2012 to 2014. <i>Sci. Data<\/i> <b>3<\/b>, 160037 <a href=\"https:\/\/doi.org\/10.1038\/sdata.2016.37\">https:\/\/doi.org\/10.1038\/sdata.2016.37<\/a> (2016).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1038%2Fsdata.2016.37\" aria-label=\"Article reference 6\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/entrez\/query.fcgi?cmd=Retrieve&amp;db=PubMed&amp;dopt=Abstract&amp;list_uids=27271937\" aria-label=\"PubMed reference 6\">PubMed<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC4896126\" aria-label=\"PubMed Central reference 6\">PubMed Central<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 6\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=Electricity%2C%20water%2C%20and%20natural%20gas%20consumption%20of%20a%20residential%20house%20in%20Canada%20from%202012%20to%202014&amp;journal=Sci.%20Data&amp;doi=10.1038%2Fsdata.2016.37&amp;volume=3&amp;publication_year=2016&amp;author=Makonin%2CS&amp;author=Ellert%2CB&amp;author=Baji%C4%87%2CIV&amp;author=Popowich%2CF\">                     Google Scholar<\/a>\u00a0                 <br \/>Murray, D., Stankovic, L. &amp; Stankovic, V. An electrical load measurements dataset of United Kingdom households from a two-year longitudinal study. <i>Sci. Data<\/i> <b>4<\/b>, 160122 (2017).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1038%2Fsdata.2016.122\" aria-label=\"Article reference 7\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 7\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=An%20electrical%20load%20measurements%20dataset%20of%20United%20Kingdom%20households%20from%20a%20two-year%20longitudinal%20study&amp;journal=Sci.%20Data&amp;volume=4&amp;publication_year=2017&amp;author=Murray%2CD&amp;author=Stankovic%2CL&amp;author=Stankovic%2CV\">                     Google Scholar<\/a>\u00a0                 <br \/>Kriechbaumer, T. &amp; Jacobsen, H.-A. BLOND, a building-level office environment dataset of typical electrical appliances. <i>Sci. Data<\/i> <b>5<\/b>, 180048. <a href=\"https:\/\/doi.org\/10.1038\/sdata.2018.48\">https:\/\/doi.org\/10.1038\/sdata.2018.48<\/a> (2018).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1038%2Fsdata.2018.48\" aria-label=\"Article reference 8\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/entrez\/query.fcgi?cmd=Retrieve&amp;db=PubMed&amp;dopt=Abstract&amp;list_uids=29583141\" aria-label=\"PubMed reference 8\">PubMed<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC5870472\" aria-label=\"PubMed Central reference 8\">PubMed Central<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 8\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=BLOND%2C%20a%20building-level%20office%20environment%20dataset%20of%20typical%20electrical%20appliances&amp;journal=Sci.%20Data&amp;doi=10.1038%2Fsdata.2018.48&amp;volume=5&amp;publication_year=2018&amp;author=Kriechbaumer%2CT&amp;author=Jacobsen%2CH-A\">                     Google Scholar<\/a>\u00a0                 <br \/>Batra, N., Gulati, M., Singh, A. &amp; Srivastava, M.\u00a0B. It\u2019s different: insights into home energy consumption in India. In <i>Proceedings of the 5th ACM Workshop on Embedded Systems For Energy-Efficient Buildings<\/i>, BuildSys\u201913, 3:1\u20133:8, (ACM, 2013). <a href=\"https:\/\/doi.org\/10.1145\/2528282.2528293\">https:\/\/doi.org\/10.1145\/2528282.2528293<\/a><br \/>Kelly, J. &amp; Knottenbelt, W. The UK-DALE dataset, domestic appliance-level electricity demand and whole-house demand from five UK homes. <i>Sci. Data<\/i> <b>2<\/b>, 150007 <a href=\"https:\/\/doi.org\/10.1038\/sdata.2015.7\">https:\/\/doi.org\/10.1038\/sdata.2015.7<\/a> (2015).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1038%2Fsdata.2015.7\" aria-label=\"Article reference 10\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/entrez\/query.fcgi?cmd=Retrieve&amp;db=PubMed&amp;dopt=Abstract&amp;list_uids=25984347\" aria-label=\"PubMed reference 10\">PubMed<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC4432654\" aria-label=\"PubMed Central reference 10\">PubMed Central<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 10\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=The%20UK-DALE%20dataset%2C%20domestic%20appliance-level%20electricity%20demand%20and%20whole-house%20demand%20from%20five%20UK%20homes&amp;journal=Sci.%20Data&amp;doi=10.1038%2Fsdata.2015.7&amp;volume=2&amp;publication_year=2015&amp;author=Kelly%2CJ&amp;author=Knottenbelt%2CW\">                     Google Scholar<\/a>\u00a0                 <br \/>Kahl, M., UI\u00a0Haq, A., Kriechbaumer, T. &amp; Hans-Arno, J. WHITED\u2014A worldwide household and industry transient energy data set. In <i>3rd International NILM Workshop<\/i> (2016).<br \/>Pereira, L., Nunes, N. &amp; Berg\u00e9s, M. SURF and SURF-PI: a file format and API for non-intrusive load monitoring public datasets. In <i>Proceedings of the 5th International Conference on Future Energy Systems<\/i>, e-Energy \u201914, 225\u2013226, (ACM, 2014). <a href=\"https:\/\/doi.org\/10.1145\/2602044.2602078\">https:\/\/doi.org\/10.1145\/2602044.2602078<\/a><br \/>Ribeiro, M., Pereira, L., Quintal, F. &amp; Nunes, N. SustDataED: a public dataset for electric energy disaggregation research. In <i>Proceedings of ICT for Sustainability 2016<\/i>, Advances in Computer Science Research, 244\u2013245, (Atlantis Press, 2016). <a href=\"https:\/\/doi.org\/10.2991\/ict4s-16.2016.36\">https:\/\/doi.org\/10.2991\/ict4s-16.2016.36<\/a><br \/>V\u00f6lker, B., Scholl, P.\u00a0M. &amp; Becker, B. Semi-automatic generation and labeling of training data for non-intrusive load monitoring. In <i>Proceedings of the Tenth ACM International Conference on Future Energy Systems<\/i>, e-Energy \u201919, 17\u201323, (ACM, 2019). 10\/gf32w9<br \/>Klemenjak, C. <i>et\u00a0al.<\/i> Electricity consumption data sets: pitfalls and opportunities. In <i>Proceedings of the 6th ACM International Conference on Systems for Energy-Efficient Buildings, Cities, and Transportation<\/i>, BuildSys \u201919, 159\u2013162, (ACM, 2019).<br \/>Kelly, J. &amp; Knottenbelt, W. Metadata for energy disaggregation. In <i>2014 IEEE 38th International Computer Software and Applications Conference Workshops<\/i>, 578\u2013583, (2014) <a href=\"https:\/\/doi.org\/10.1109\/COMPSACW.2014.97\">https:\/\/doi.org\/10.1109\/COMPSACW.2014.97<\/a><br \/>Batra, N. <i>et\u00a0al.<\/i> NILMTK: an open source toolkit for non-intrusive load monitoring. In <i>Proceedings of the 5th International Conference on Future Energy Systems<\/i>, e-Energy \u201914, 265\u2013276, (ACM, 2014). <a href=\"https:\/\/doi.org\/10.1145\/2602044.2602051\">https:\/\/doi.org\/10.1145\/2602044.2602051<\/a><br \/>Paris, J., Donnal, J. S. &amp; Leeb, S. B. NilmDB: The non-intrusive load monitor database. <i>IEEE Trans. Smart Grid<\/i> <b>5<\/b>, 2459\u20132467. <a href=\"https:\/\/doi.org\/10.1109\/TSG.2014.2321582\">https:\/\/doi.org\/10.1109\/TSG.2014.2321582<\/a> (2014).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1109%2FTSG.2014.2321582\" aria-label=\"Article reference 18\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 18\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=NilmDB%3A%20The%20non-intrusive%20load%20monitor%20database&amp;journal=IEEE%20Trans.%20Smart%20Grid&amp;doi=10.1109%2FTSG.2014.2321582&amp;volume=5&amp;pages=2459-2467&amp;publication_year=2014&amp;author=Paris%2CJ&amp;author=Donnal%2CJS&amp;author=Leeb%2CSB\">                     Google Scholar<\/a>\u00a0                 <br \/>Pereira, L. EMD-DF: A data model and file format for energy disaggregation datasets. In <i>Proceedings of the 4th ACM International Conference on Systems for Energy-Efficient Built Environments<\/i> (ACM, 2017).<br \/>Pereira, L., Quintal, F., Nunes, N. &amp; Berg\u00e9s, M. The design of a hardware-software platform for long-term energy eco-feedback research. In <i>ACM SIGCHI Symposium on Engineering Interactive Computing Systems<\/i>, EICS \u201912, 221\u2013230, (ACM, 2012). <a href=\"https:\/\/doi.org\/10.1145\/2305484.2305521\">https:\/\/doi.org\/10.1145\/2305484.2305521<\/a><br \/>Kriechbaumer, T., Jorde, D. &amp; Jacobsen, H.-A. Waveform signal entropy and compression study of whole-building energy datasets. In <i>Proceedings of the Tenth ACM International Conference on Future Energy Systems<\/i>, 58\u201367, (ACM, 2019).<br \/>Anderson, K. <i>et\u00a0al.<\/i> BLUED: a fully labeled public dataset for event-based non-intrusive load monitoring research. In <i>Proceedings of the 2nd KDD Workshop on Data Mining Applications in Sustainability (SustKDD)<\/i>, 1\u20135 (2012).<br \/>Makonin, S., Wang, Z. J. &amp; Tumpach, C. RAE: The rainforest automation energy dataset for smart grid meter data analysis. <i>Data<\/i> <b>3<\/b>, 8. <a href=\"https:\/\/doi.org\/10.3390\/data3010008\">https:\/\/doi.org\/10.3390\/data3010008<\/a> (2018).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.3390%2Fdata3010008\" aria-label=\"Article reference 23\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 23\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=RAE%3A%20The%20rainforest%20automation%20energy%20dataset%20for%20smart%20grid%20meter%20data%20analysis&amp;journal=Data&amp;doi=10.3390%2Fdata3010008&amp;volume=3&amp;publication_year=2018&amp;author=Makonin%2CS&amp;author=Wang%2CZJ&amp;author=Tumpach%2CC\">                     Google Scholar<\/a>\u00a0                 <br \/>Medico, R. <i>et al.<\/i> A voltage and current measurement dataset for plug load appliance identification in households. <i>Sci. Data<\/i> <b>7<\/b>, 1\u201310. <a href=\"https:\/\/doi.org\/10.1038\/s41597-020-0389-7\">https:\/\/doi.org\/10.1038\/s41597-020-0389-7<\/a> (2020).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.1038%2Fs41597-020-0389-7\" aria-label=\"Article reference 24\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 24\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=A%20voltage%20and%20current%20measurement%20dataset%20for%20plug%20load%20appliance%20identification%20in%20households&amp;journal=Sci.%20Data&amp;doi=10.1038%2Fs41597-020-0389-7&amp;volume=7&amp;pages=1-10&amp;publication_year=2020&amp;author=Medico%2CR\">                     Google Scholar<\/a>\u00a0                 <br \/>Reinhardt, A. <i>et\u00a0al.<\/i> On the accuracy of appliance identification based on distributed load metering data. In <i>2012 Sustainable Internet and ICT for Sustainability (SustainIT)<\/i>, 1\u20139 (2012).<br \/>Monacchi, A., Egarter, D., Elmenreich, W., D\u2019Alessandro, S. &amp; Tonello, A.\u00a0M. GREEND: an energy consumption dataset of households in Italy and Austria. In <i>2014 IEEE International Conference on Smart Grid Communications (SmartGridComm)<\/i>, 511\u2013516, (2014). <a href=\"https:\/\/doi.org\/10.1109\/SmartGridComm.2014.7007698\">https:\/\/doi.org\/10.1109\/SmartGridComm.2014.7007698<\/a><br \/>Reinhardt, A. &amp; Klemenjak, C. Device-free user activity detection using non-intrusive load monitoring: a case study. In <i>Proceedings of the 2nd ACM Workshop on Device-Free Human Sensing<\/i>, DFHS\u201920, 1\u20135, (Association for Computing Machinery). <a href=\"https:\/\/doi.org\/10.1145\/3427772.3429391\">https:\/\/doi.org\/10.1145\/3427772.3429391<\/a><br \/>Bousbiat, H., Klemenjak, C., Leitner, G. &amp; Elmenreich, W. Augmenting an assisted living lab with non-intrusive load monitoring. In <i>2020 IEEE International Instrumentation and Measurement Technology Conference (I2MTC)<\/i>, 1\u20135, <a href=\"https:\/\/doi.org\/10.1109\/I2MTC43012.2020.9128406.\">https:\/\/doi.org\/10.1109\/I2MTC43012.2020.9128406.<\/a><br \/>Multimedia Programming Interface and Data Specifications 1.0. Tech. Rep.(IBM Corporation and Microsoft Corporation, 1991).<br \/>Pereira, M., Velosa, N. &amp; Pereira, L. dsCleaner: A python library to clean, preprocess and convert non-intrusive load monitoring datasets. <i>Data<\/i> <b>4<\/b>, 123. <a href=\"https:\/\/doi.org\/10.3390\/data4030123\">https:\/\/doi.org\/10.3390\/data4030123<\/a> (2019).<br \/><a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" href=\"https:\/\/doi.org\/10.3390%2Fdata4030123\" aria-label=\"Article reference 30\">Article<\/a>\u00a0     <a data-track=\"click\" data-track-action=\"outbound reference\" data-track-label=\"link\" rel=\"nofollow noopener\" aria-label=\"Google Scholar reference 30\" href=\"http:\/\/scholar.google.com\/scholar_lookup?&amp;title=dsCleaner%3A%20A%20python%20library%20to%20clean%2C%20preprocess%20and%20convert%20non-intrusive%20load%20monitoring%20datasets&amp;journal=Data&amp;doi=10.3390%2Fdata4030123&amp;volume=4&amp;publication_year=2019&amp;author=Pereira%2CM&amp;author=Velosa%2CN&amp;author=Pereira%2CL\">                     Google Scholar<\/a>\u00a0                 <br \/>Pereira, L., Pereira, M. &amp; Velosa, N. EMD-DF64: A 64-Bit File Format for Energy Monitoring and Disaggregation Datasets (2021). <a href=\"https:\/\/doi.org\/10.17605\/OSF.IO\/D7EBX\">https:\/\/doi.org\/10.17605\/OSF.IO\/D7EBX<\/a><br \/><a data-track=\"click\" data-track-action=\"download citation references\" data-track-label=\"link\" href=\"https:\/\/citation-needed.springer.com\/v2\/references\/10.1038\/s41598-022-14517-y?format=refman&amp;flavour=references\">Download references<svg width=\"16\" height=\"16\" focusable=\"false\" role=\"img\" aria-hidden=\"true\" class=\"u-icon\"><use xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:href=\"#global-icon-download\"><\/use><\/svg><\/a><br \/>ITI, LARSyS, T\u00e9cnico Lisboa, 1049-001, Lisbon, Portugal<br \/>Lucas Pereira<br \/>Universidade da Madeira, 9020-105, Funchal, Portugal<br \/>Nuno Velosa\u00a0&amp;\u00a0Manuel Pereira<br \/>You can also search for this author in                         <span class=\"c-article-identifiers\"><a class=\"c-article-identifiers__item\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/entrez\/query.fcgi?cmd=search&amp;term=Lucas%20Pereira\" data-track=\"click\" data-track-action=\"author link - pubmed\" data-track-label=\"link\" rel=\"nofollow\">PubMed<\/a><span class=\"u-hide\">\u00a0<\/span><a class=\"c-article-identifiers__item\" href=\"http:\/\/scholar.google.co.uk\/scholar?as_q=&amp;num=10&amp;btnG=Search+Scholar&amp;as_epq=&amp;as_oq=&amp;as_eq=&amp;as_occt=any&amp;as_sauthors=%22Lucas%20Pereira%22&amp;as_publication=&amp;as_ylo=&amp;as_yhi=&amp;as_allsubj=all&amp;hl=en\" data-track=\"click\" data-track-action=\"author link - scholar\" data-track-label=\"link\" rel=\"nofollow\">Google Scholar<\/a><\/span><br \/>You can also search for this author in                         <span class=\"c-article-identifiers\"><a class=\"c-article-identifiers__item\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/entrez\/query.fcgi?cmd=search&amp;term=Nuno%20Velosa\" data-track=\"click\" data-track-action=\"author link - pubmed\" data-track-label=\"link\" rel=\"nofollow\">PubMed<\/a><span class=\"u-hide\">\u00a0<\/span><a class=\"c-article-identifiers__item\" href=\"http:\/\/scholar.google.co.uk\/scholar?as_q=&amp;num=10&amp;btnG=Search+Scholar&amp;as_epq=&amp;as_oq=&amp;as_eq=&amp;as_occt=any&amp;as_sauthors=%22Nuno%20Velosa%22&amp;as_publication=&amp;as_ylo=&amp;as_yhi=&amp;as_allsubj=all&amp;hl=en\" data-track=\"click\" data-track-action=\"author link - scholar\" data-track-label=\"link\" rel=\"nofollow\">Google Scholar<\/a><\/span><br \/>You can also search for this author in                         <span class=\"c-article-identifiers\"><a class=\"c-article-identifiers__item\" href=\"http:\/\/www.ncbi.nlm.nih.gov\/entrez\/query.fcgi?cmd=search&amp;term=Manuel%20Pereira\" data-track=\"click\" data-track-action=\"author link - pubmed\" data-track-label=\"link\" rel=\"nofollow\">PubMed<\/a><span class=\"u-hide\">\u00a0<\/span><a class=\"c-article-identifiers__item\" href=\"http:\/\/scholar.google.co.uk\/scholar?as_q=&amp;num=10&amp;btnG=Search+Scholar&amp;as_epq=&amp;as_oq=&amp;as_eq=&amp;as_occt=any&amp;as_sauthors=%22Manuel%20Pereira%22&amp;as_publication=&amp;as_ylo=&amp;as_yhi=&amp;as_allsubj=all&amp;hl=en\" data-track=\"click\" data-track-action=\"author link - scholar\" data-track-label=\"link\" rel=\"nofollow\">Google Scholar<\/a><\/span><br \/>Conceptualization, L.P.; methodology, L.P.; research, L.P., N.V. and M.P.; development, L.P., N.V. and M.P.; original draft preparation, L.P., N.V., and M.P.; review and editing, L.P.; visualization, L.P.<br \/>Correspondence to                 <a id=\"corresp-c1\" href=\"mailto:lucas.pereira@tecnico.ulisboa.pt\">Lucas Pereira<\/a>.<br \/>The authors declare no competing interests.<br \/>Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.<br \/><b>Open Access<\/b> This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article&#8217;s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article&#8217;s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit <a href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\" rel=\"license\">http:\/\/creativecommons.org\/licenses\/by\/4.0\/<\/a>.<br \/><a data-track=\"click\" data-track-action=\"view rights and permissions\" data-track-label=\"link\" href=\"https:\/\/s100.copyright.com\/AppDispatchServlet?title=A%20data%20model%20and%20file%20format%20to%20represent%20and%20store%20high%20frequency%20energy%20monitoring%20and%20disaggregation%20datasets&amp;author=Lucas%20Pereira%20et%20al&amp;contentID=10.1038%2Fs41598-022-14517-y&amp;copyright=The%20Author%28s%29&amp;publication=2045-2322&amp;publicationDate=2022-06-18&amp;publisherName=SpringerNature&amp;orderBeanReset=true&amp;oa=CC%20BY\">Reprints and Permissions<\/a><br \/>Pereira, L., Velosa, N. &amp; Pereira, M. A data model and file format to represent and store high frequency energy monitoring and disaggregation datasets.                     <i>Sci Rep<\/i> <b>12, <\/b>10284 (2022). https:\/\/doi.org\/10.1038\/s41598-022-14517-y<br \/><a data-test=\"citation-link\" data-track=\"click\" data-track-action=\"download article citation\" data-track-label=\"link\" data-track-external=\"\" href=\"https:\/\/citation-needed.springer.com\/v2\/references\/10.1038\/s41598-022-14517-y?format=refman&amp;flavour=citation\">Download citation<svg width=\"16\" height=\"16\" focusable=\"false\" role=\"img\" aria-hidden=\"true\" class=\"u-icon\"><use xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:href=\"#global-icon-download\"><\/use><\/svg><\/a><br \/>Received<span class=\"u-hide\">: <\/span><span class=\"c-bibliographic-information__value\"><time datetime=\"2021-08-24\">24 August 2021<\/time><\/span><br \/>Accepted<span class=\"u-hide\">: <\/span><span class=\"c-bibliographic-information__value\"><time datetime=\"2022-05-12\">12 May 2022<\/time><\/span><br \/>Published<span class=\"u-hide\">: <\/span><span class=\"c-bibliographic-information__value\"><time datetime=\"2022-06-18\">18 June 2022<\/time><\/span><br \/><abbr title=\"Digital Object Identifier\">DOI<\/abbr><span class=\"u-hide\">: <\/span><span class=\"c-bibliographic-information__value\">https:\/\/doi.org\/10.1038\/s41598-022-14517-y<\/span><br \/>Anyone you share the following link with will be able to read this content:<br \/>Sorry, a shareable link is not currently available for this article.<\/p>\n<p>                             Provided by the Springer Nature SharedIt content-sharing initiative                         <br \/>By submitting a comment you agree to abide by our <a href=\"\/info\/tandc.html\">Terms<\/a> and <a href=\"\/info\/community-guidelines.html\">Community Guidelines<\/a>. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.<br \/>Advertisement<br \/>                 <a href=\"\/search\/advanced\"                    data-track=\"click\" data-track-action=\"advanced search\" data-track-label=\"link\">                     Advanced search                 <\/a>             <br \/>                 <span class=\"c-meta__item\">                     Scientific Reports (<i>Sci Rep<\/i>)                 <\/span>                           <span class=\"c-meta__item\">         <abbr title=\"International Standard Serial Number\">ISSN<\/abbr> <span itemprop=\"onlineIssn\">2045-2322<\/span> (online)     <\/span>                                           <br \/>&copy; 2022 Springer Nature Limited<br \/>Sign up for the <em>Nature Briefing<\/em> newsletter \u2014 what matters in science, free to your inbox daily.<\/p>\n<p><a href=\"https:\/\/www.nature.com\/articles\/s41598-022-14517-y\">source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.Advertisement [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":50540,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-50539","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/posts\/50539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/comments?post=50539"}],"version-history":[{"count":0,"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/posts\/50539\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/media\/50540"}],"wp:attachment":[{"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/media?parent=50539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/categories?post=50539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/loopbeatzz.info\/wp\/wp-json\/wp\/v2\/tags?post=50539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}