Improve dataset card: add paper link, GitHub repository, and sample usage
#1
by
nielsr
HF Staff
- opened
README.md
CHANGED
|
@@ -1,3 +1,81 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
tags:
|
| 6 |
+
- energy
|
| 7 |
+
- NILM
|
| 8 |
+
- solar-energy
|
| 9 |
+
- smart-home
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# PV-Augmented NILM Datasets
|
| 13 |
+
|
| 14 |
+
[**Paper**](https://huggingface.co/papers/2508.14600) | [**GitHub**](https://github.com/MathAdventurer/PV-Augmented-NILM-Datasets)
|
| 15 |
+
|
| 16 |
+
This repository contains synthesized photovoltaic (PV) augmented datasets for Non-Intrusive Load Monitoring (NILM). The toolkit enables researchers to create realistic scenarios of residential solar energy integration into public datasets (such as REDD and UK-DALE) to evaluate disaggregation algorithms under renewable energy conditions.
|
| 17 |
+
|
| 18 |
+
This work was presented in the paper "[Energy Injection Identification enabled Disaggregation with Deep Multi-Task Learning](https://huggingface.co/papers/2508.14600)".
|
| 19 |
+
|
| 20 |
+
## Overview
|
| 21 |
+
|
| 22 |
+
The toolkit provides methods to:
|
| 23 |
+
- Fetch real-world solar irradiance data from NREL's National Solar Radiation Database.
|
| 24 |
+
- Simulate realistic PV system output with temperature effects.
|
| 25 |
+
- Integrate PV injection with existing NILM datasets in NILMTK-compatible formats.
|
| 26 |
+
|
| 27 |
+
## Sample Usage
|
| 28 |
+
|
| 29 |
+
The following example shows how to process a NILM dataset with PV injection using the provided toolkit:
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from src.data_processor import process_dataset
|
| 33 |
+
from src.weather_api import fetch_nrel_data
|
| 34 |
+
from nilmtk import DataSet
|
| 35 |
+
|
| 36 |
+
# Load weather data
|
| 37 |
+
weather_data = fetch_nrel_data(
|
| 38 |
+
lat=42.3601, # Boston, MA for REDD
|
| 39 |
+
lon=-71.0589,
|
| 40 |
+
year=2011
|
| 41 |
+
)
|
| 42 |
+
|
| 43 |
+
# Load NILM dataset
|
| 44 |
+
redd = DataSet('path/to/redd.h5')
|
| 45 |
+
|
| 46 |
+
# Process with PV injection
|
| 47 |
+
data, train, test = process_dataset(
|
| 48 |
+
dataset_name='REDD',
|
| 49 |
+
dataset=redd,
|
| 50 |
+
building_number=1,
|
| 51 |
+
appliances=['microwave', 'fridge', 'dish washer', 'washing machine'],
|
| 52 |
+
train_start_str='2011-04-19',
|
| 53 |
+
train_end_str='2011-05-03',
|
| 54 |
+
test_start_str='2011-05-04',
|
| 55 |
+
test_end_str='2011-05-11',
|
| 56 |
+
weather_data=weather_data,
|
| 57 |
+
pv_capacity=2000 # 2kW system
|
| 58 |
+
)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Citation
|
| 62 |
+
|
| 63 |
+
If you use this toolkit or dataset in your research, please cite:
|
| 64 |
+
|
| 65 |
+
```bibtex
|
| 66 |
+
@misc{wang2025energy,
|
| 67 |
+
title={Energy Injection Identification Enabled Disaggregation with Deep Multi-Task Learning},
|
| 68 |
+
author={Xudong Wang and Guoming Tang and Junyu Xue and Srinivasan Keshav and Tongxin Li and Chris Ding},
|
| 69 |
+
year={2025},
|
| 70 |
+
eprint={2508.14600},
|
| 71 |
+
archivePrefix={arXiv},
|
| 72 |
+
primaryClass={cs.LG},
|
| 73 |
+
url={https://arxiv.org/abs/2508.14600},
|
| 74 |
+
}
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
## Acknowledgments
|
| 78 |
+
|
| 79 |
+
- National Renewable Energy Laboratory (NREL) for providing the NSRDB API.
|
| 80 |
+
- NILMTK team for the toolkit and dataset support.
|
| 81 |
+
- REDD and UK-DALE dataset creators.
|