Skip to content

Power disaggregation model for Net-Zero Energy Residential Test Facility (NZERTF)

Notifications You must be signed in to change notification settings

CommerceDataService/netZero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CDS logo NIST Logo

netZero

This repo houses data cleaning scripts, tutorials, visualizations and statistical models using data from the NIST Net-Zero Energy Residential Test Facility (NZERTF).

While this repo has some files with the data dictionary or variables flagged for removal, it does not have the full TDMS or CSV data files, since they are huge. We did, however include a small sample of each for reference.

Cleaning scripts

The convert_tdms_to_csv.py python script needs to be run first to convert TDMS files into CSV files. The paths to the TDMS file locations and the folder to save the CSV files will need to be updated before running.

The cleaning_script.R file can be run subsequently.

Data caveats

Here are a few data cleaning and manipulation issues to keep in mind:

  • Various channels and systems may not always exactly have 1440 readings per day because of resets at midnight, instrumentation boot time lags, or different intervals for collecting data from instruments. Channel readings are rounded to the nearest minute and if readings start after midnight, the channel values are 'NA' up until the readings begin.
  • The TimeStamp_SystemTime variable, rounded to the minute, was used as a timestamp for the data from the LabView system. For the alternate system, 1440 readings were provided for each day, so an appropriate minute-level timestamp was generated.

User updates

Users can make updates without editing the cleaning_script by editing the files stored in the data/user_updates folder. From here, users can:

  • Update the measurement location, parameter and description in the dataDictionary
  • List variables to be excluded (or not) from the final dataset in DataToBeExcluded
  • Define what method is used for hourly aggregation for each variable in HourlyDataConversions
  • Rename variables in newVariableNames

Tutorials

R markdowns and knitted html outputs are available for tutorials in R. Refer to the html file to see the code, formatting and output in one file. The tutorials have been posted on the Net Zero website.

About

Power disaggregation model for Net-Zero Energy Residential Test Facility (NZERTF)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages