Skip to main content

Datasets

Standard Dataset

Electricity Demand and Weather Data (2021–2023)

Citation Author(s):
Lei Xing
Submitted by:
Lei Xing
Last updated:
DOI:
10.21227/jdnm-xh75
Data Format:
No Ratings Yet

Abstract

This dataset contains hourly electricity demand data and corresponding weather indicators collected from 2021 to 2023. The electricity data was sourced from the U.S. Energy Information Administration (EIA), covering both winter and summer periods across three years. Weather features—including temperature, wind speed, and humidity—were collected to capture the external conditions affecting demand. All files are stored in CSV format and aligned by timestamp. This dataset supports research in time series forecasting, demand prediction, and energy systems modeling. It has been used in our study comparing classical machine learning and deep learning models (e.g., Random Forest, LightGBM, LSTM, Transformer, and TFT) for electricity load forecasting. The dataset is suitable for testing short-term and long-term predictive models and supports calendar feature engineering.

 

Instructions:

This dataset includes hourly electricity demand and weather data for the U.S. from January 2021 to December 2023.

 

Files Included:

- EIA2021_Jan_Jun.csv to EIA2023_Jul_Dec.csv: Hourly electricity demand values (kWh), sourced from the U.S. Energy Information Administration (EIA).

- WTH_2021.csv to WTH_2023.csv: Corresponding hourly weather features, including:

    - Temperature (°C)

    - Relative Humidity (%)

    - Wind Speed (m/s)

 

Usage Instructions:

1. All files are in `.csv` format with headers.

2. Timestamp fields are in Eastern Time and uniformly aligned across all files.

3. Missing values are either interpolated or removed depending on the variable.

4. For time series modeling, align electricity and weather files by datetime.

 

Suggested Applications:

- Electricity demand forecasting (short- and long-term)

- Time-series regression and deep learning tasks (e.g., LSTM, Transformer, TFT)

- Feature selection and correlation analysis

 

Data Sources:

- Electricity demand: EIA Grid Monitor — https://www.eia.gov/electricity/gridmonitor/dashboard/electric_overview/US48/US48

- Weather data: NREL NSRDB Viewer — https://nsrdb.nrel.gov/data-viewer