Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'kettle_state', 'kettle', 'kettle_reactive'})

This happened while the csv dataset builder was generating data using

hf://datasets/wangxudong/PV-Augmented-NILM-Datasets/UKDALE_house1/train.csv (at revision b16493148659514d3b43d56748e7e3c5676f8ee9), ['hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/REDD_house1/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/REDD_house2/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/REDD_house3/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/UKDALE_house1/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/UKDALE_house2/train.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              Unnamed: 0: string
              aggregate_power: double
              aggregate_power_with_injection: double
              aggregate_reactive: double
              hour_sin: double
              hour_cos: double
              power_factor: double
              kettle: double
              kettle_state: int64
              kettle_reactive: double
              microwave: double
              microwave_state: int64
              microwave_reactive: double
              fridge: double
              fridge_state: int64
              fridge_reactive: double
              dish washer: double
              dish washer_state: int64
              dish washer_reactive: double
              washing machine: double
              washing machine_state: int64
              washing machine_reactive: double
              micro_inverter: double
              micro_inv: int64
              micro_inverter_normalized: double
              GHI: int64
              DNI: int64
              DHI: int64
              Wind Speed: double
              Temperature: double
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 4046
              to
              {'Unnamed: 0': Value('string'), 'aggregate_power': Value('float64'), 'aggregate_power_with_injection': Value('float64'), 'aggregate_reactive': Value('float64'), 'hour_sin': Value('float64'), 'hour_cos': Value('float64'), 'power_factor': Value('float64'), 'microwave': Value('float64'), 'microwave_state': Value('int64'), 'microwave_reactive': Value('float64'), 'fridge': Value('float64'), 'fridge_state': Value('int64'), 'fridge_reactive': Value('float64'), 'dish washer': Value('float64'), 'dish washer_state': Value('int64'), 'dish washer_reactive': Value('float64'), 'washing machine': Value('float64'), 'washing machine_state': Value('int64'), 'washing machine_reactive': Value('float64'), 'micro_inverter': Value('float64'), 'micro_inv': Value('int64'), 'micro_inverter_normalized': Value('float64'), 'GHI': Value('int64'), 'DNI': Value('int64'), 'DHI': Value('int64'), 'Wind Speed': Value('float64'), 'Temperature': Value('float64')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1342, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1736, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1889, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'kettle_state', 'kettle', 'kettle_reactive'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/wangxudong/PV-Augmented-NILM-Datasets/UKDALE_house1/train.csv (at revision b16493148659514d3b43d56748e7e3c5676f8ee9), ['hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/REDD_house1/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/REDD_house2/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/REDD_house3/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/UKDALE_house1/train.csv', 'hf://datasets/wangxudong/PV-Augmented-NILM-Datasets@b16493148659514d3b43d56748e7e3c5676f8ee9/UKDALE_house2/train.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Unnamed: 0
string
aggregate_power
float64
aggregate_power_with_injection
float64
aggregate_reactive
float64
hour_sin
float64
hour_cos
float64
power_factor
float64
microwave
float64
microwave_state
int64
microwave_reactive
float64
fridge
float64
fridge_state
int64
fridge_reactive
float64
dish washer
float64
dish washer_state
int64
dish washer_reactive
float64
washing machine
float64
washing machine_state
int64
washing machine_reactive
float64
micro_inverter
float64
micro_inv
int64
micro_inverter_normalized
float64
GHI
int64
DNI
int64
DHI
int64
Wind Speed
float64
Temperature
float64
2011-04-19 00:00:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:06+00:00
30
30
14.529663
0
1
0.9
4
0
1.314736
26
0
16.113354
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:12+00:00
30
30
14.529663
0
1
0.9
4
0
1.314736
26
0
16.113354
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:24+00:00
30
30
14.529663
0
1
0.9
4
0
1.314736
26
0
16.113354
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:36+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:00:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:24+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:01:54+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:24+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:02:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:12+00:00
11
11
5.327543
0
1
0.9
5
0
1.643421
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:24+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:03:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:00+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:24+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:48+00:00
11
11
5.327543
0
1
0.9
5
0
1.643421
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:04:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:24+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:30+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:48+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:05:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:24+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:42+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:06:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:18+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:24+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:36+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:42+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:48+00:00
11
11
5.327543
0
1
0.9
4.5
0
1.479078
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:07:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:00+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6
0
3.718466
0.5
0
0.375
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:18+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:24+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:36+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:42+00:00
10.5
10.5
5.085382
0
1
0.9
4
0
1.314736
6.5
0
4.028338
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:08:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:00+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:06+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:12+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:18+00:00
11
11
5.327543
0
1
0.9
4
0
1.314736
7
0
4.338211
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:24+00:00
10.5
10.5
5.085382
0
1
0.9
4.5
0
1.479078
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:30+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:36+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:42+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:48+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
2011-04-19 00:09:54+00:00
10
10
4.843221
0
1
0.9
4
0
1.314736
6
0
3.718466
0
0
0
0
0
0
0
0
0
0
0
0
0.4
7
End of preview.

PV-Augmented NILM Datasets

Paper | GitHub

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.

This work was presented in the ACM e-Energy 2026 paper "Energy Injection Identification enabled Disaggregation with Deep Multi-Task Learning".

Overview

The toolkit provides methods to:

  • Fetch real-world solar irradiance data from NREL's National Solar Radiation Database.
  • Simulate realistic PV system output with temperature effects.
  • Integrate PV injection with existing NILM datasets in NILMTK-compatible formats.

Sample Usage

The following example shows how to process a NILM dataset with PV injection using the provided toolkit:

from src.data_processor import process_dataset
from src.weather_api import fetch_nrel_data
from nilmtk import DataSet

# Load weather data
weather_data = fetch_nrel_data(
    lat=42.3601,  # Boston, MA for REDD
    lon=-71.0589,
    year=2011
)

# Load NILM dataset
redd = DataSet('path/to/redd.h5')

# Process with PV injection
data, train, test = process_dataset(
    dataset_name='REDD',
    dataset=redd,
    building_number=1,
    appliances=['microwave', 'fridge', 'dish washer', 'washing machine'],
    train_start_str='2011-04-19',
    train_end_str='2011-05-03',
    test_start_str='2011-05-04',
    test_end_str='2011-05-11',
    weather_data=weather_data,
    pv_capacity=2000  # 2kW system
)

Citation

If you use this toolkit or dataset in your research, please cite:

@misc{wang2025energy,
      title={Energy Injection Identification Enabled Disaggregation with Deep Multi-Task Learning}, 
      author={Xudong Wang and Guoming Tang and Junyu Xue and Srinivasan Keshav and Tongxin Li and Chris Ding},
      year={2025},
      eprint={2508.14600},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2508.14600}, 
}

Acknowledgments

  • National Renewable Energy Laboratory (NREL) for providing the NSRDB API.
  • NILMTK team for the toolkit and dataset support.
  • REDD and UK-DALE dataset creators.
Downloads last month
25

Paper for wangxudong/PV-Augmented-NILM-Datasets