This dataset contains time-series data of residential electricity consumption and photovoltaic (PV) generation from German households covering the period from January 1, 2016 to December 30, 2016. It is designed to provide standardized user-side energy data support for research on home energy management, load forecasting, demand response, distributed energy optimization, and low-voltage distribution network modeling. The dataset is constructed based on the Household Data package released by the Open Power System Data (OPSD) platform. The original data were collected from real residential households in southern Germany using smart metering devices that continuously recorded electricity consumption, distributed PV generation, and appliance-level energy usage information. The dataset consists of six CSV files, namely resampled_residential_0.csv, resampled_residential_1.csv, resampled_residential_2.csv, resampled_residential_3.csv, resampled_residential_4.csv, and resampled_residential_5.csv. Specifically, • resampled_residential_0.csv contains time-series data for Residential Household 0, including eight data elements: time, dishwasher, freezer, grid_import, heat_pump, pv, washing_machine, and grid_export. • resampled_residential_1.csv contains time-series data for Residential Household 1, including seven data elements: time, circulation_pump, dishwasher, freezer, grid_import, washing_machine, and grid_export. • resampled_residential_2.csv contains time-series data for Residential Household 2, including nine data elements: time, circulation_pump, dishwasher, freezer, grid_import, pv, refrigerator, washing_machine, and grid_export. • resampled_residential_3.csv contains time-series data for Residential Household 3, including ten data elements: time, dishwasher, ev, freezer, grid_import, heat_pump, pv, refrigerator, washing_machine, and grid_export. • resampled_residential_4.csv contains time-series data for Residential Household 4, including six data elements: time, dishwasher, grid_import, refrigerator, washing_machine, and grid_export. • resampled_residential_5.csv contains time-series data for Residential Household 5, including eight data elements: time, circulation_pump, dishwasher, freezer, grid_import, pv, washing_machine, and grid_export. The field time represents the timestamp used to identify the data acquisition moment, with a sampling interval of one hour. All energy-related variables are measured in kilowatt-hours (kWh). The variables dishwasher, freezer, refrigerator, washing_machine, circulation_pump, heat_pump, and ev represent appliance-level electricity consumption in residential buildings; pv represents photovoltaic power generation; and grid_import and grid_export represent electricity imported from and exported to the public grid, respectively. The dataset captures appliance-level load profiles, distributed photovoltaic generation, and bidirectional grid energy exchange. It preserves the temporal correlations, periodic patterns, and stochastic variations observed in real residential operating environments, providing a comprehensive representation of household energy system behavior. This dataset can be widely applied to research areas such as smart grids, energy internet systems, integrated energy systems, multi-agent collaborative optimization, reinforcement learning-based energy scheduling, demand response analysis, and user-side energy management. It offers a reliable foundation for algorithm development, model training, method validation, and performance evaluation in energy-related applications.
| collect time | 2016/01/01 - |
|---|---|
| collect place | Germany |
| data size | 4.2 MiB |
| data format | csv |
The dataset used in this study originates from the Household Data package provided by the Open Power System Data (OPSD) platform and was acquired through public download from the official OPSD website. Open Power System Data is an open-access data platform dedicated to electricity system research, providing curated, validated, processed, and documented datasets collected from publicly available sources. This study directly downloaded and utilized the publicly available dataset from the official OPSD website. No modifications were made to the original data collection process; however, the downloaded data were further processed and curated to meet the requirements of subsequent analysis and modeling.
The dataset was processed based on the Household Data package released by the Open Power System Data (OPSD) platform. All preprocessing procedures were implemented using Python and the open-source data analysis libraries Pandas and NumPy. First, the raw data were imported and standardized with respect to timestamp formatting. Valid UTC timestamps were extracted using regular expressions and converted into a unified datetime format, while timezone information was removed to ensure consistency across all records. Auxiliary fields not required for subsequent analysis, such as daylight-saving-time indicators and interpolation flags, were removed. Next, a data cleaning procedure was performed. Missing-value identifiers in the original files were replaced with standard NaN values. Columns containing only missing values, records with no valid observations except timestamps, all-zero columns, and columns with constant values were removed to eliminate redundant and non-informative features. Subsequently, each residential household dataset was processed individually. Variable-name prefixes associated with different households were removed to establish a consistent naming convention across datasets. Data samples were further filtered according to the selected study period. For key variables related to electricity consumption, photovoltaic generation, and grid interaction, records containing missing target values were excluded to ensure data completeness and reliability. Finally, the cleaned household load, photovoltaic generation, and appliance-level electricity consumption data were organized into a standardized time-series dataset suitable for load forecasting, demand response, energy management, and reinforcement learning-based energy scheduling studies.
Systematic quality-control procedures were applied during data acquisition, cleaning, and integration to ensure the completeness, consistency, and usability of the dataset. The original dataset contained 38,454 time-series records and 71 data fields, covering the period from December 11, 2014, to May 1, 2019, with an hourly temporal resolution. After missing-value inspection, invalid-feature removal, and data standardization, the final dataset retained 38,454 valid records and 69 data fields, with two non-informative features removed. The dataset includes 11 categories of users, consisting of three industrial users (industrial1–industrial3), two public users (public1–public2), and six residential users (residential1–residential6). The residential-user data were further organized into six independent household datasets corresponding to residential1 through residential6. All datasets were successfully generated, with standardized variable naming conventions, consistent timestamp formats, and no duplicate temporal records. Completeness checks were performed on key variables. The retained residential datasets contain valid observations for electricity import from the grid (grid_import), photovoltaic generation (pv), and appliance-level loads such as dishwashers, freezers, washing machines, and heat pumps. Records with missing values in critical target variables were excluded, ensuring that the final datasets contain no missing values in key variables. For example, the residential1 dataset contains 8,760 hourly samples covering the entire year of 2016, from 00:00 on January 1, 2016, to 23:00 on December 30, 2016. Quality inspection confirmed that all variables contain zero missing values and that the time series is continuous and complete. The processed dataset preserves realistic household load dynamics, distributed photovoltaic generation characteristics, and appliance-level operating behaviors, providing reliable support for research on load forecasting, demand response, energy management, and reinforcement learning-based energy scheduling.
This work is licensed under
CC BY 4.0 (Creative Commons Attribution 4.0 International License).
| # | title | file size |
|---|---|---|
| 1 | resampled_residential_0.csv | 739.7 KiB |
| 2 | resampled_residential_1.csv | 638.8 KiB |
| 3 | resampled_residential_2.csv | 837.8 KiB |
| 4 | resampled_residential_3.csv | 852.1 KiB |
| 5 | resampled_residential_4.csv | 562.9 KiB |
| 6 | resampled_residential_5.csv | 684.3 KiB |
| # | category | title | author | year |
|---|---|---|---|---|
| 1 | paper | 2026 |
Household Load Photovoltaic Generation Appliance-level Energy Consumption Smart Meter Data Time-series Data Distributed Energy Resources
-
-
©Copyright 2005-. Northwest Institute of Eco-Environment and Resources, CAS.
Donggang West Road 320, Lanzhou, Gansu, China (730000)

