This project is no longer maintained by Two Sigma. We continue to encourage independent development.
With the move to learning and working from home and other measures such as stay-at-home orders during the Covid-19 pandemic, there was a shift in energy consumption patterns. In this project, we try to estimate the effect of the pandemic on residential and commercial energy consumption. While aggregate measures of energy use give us an idea of the overall change due to the pandemic, we have tried to refine this estimate by developing a model for energy consumption over time and using it to refine the estimate of the increase or decrease in usage across the different mainland US states.
The key idea in this approach is to compare the actual energy consumption against expected consumption had there not been a pandemic. We estimate the latter measure by developing a model for energy use that account for the population, seasonality, trends over time, and weather-related variables. The model performance in the years prior to the pandemic indicated that it tracks actual energy use fairly well, allowing us to use it to generate predictions starting in 2020. These are the estimates of what energy use would have looked like had trends from the years prior continued. Lastly, we compare these predictions against the actual energy use during the pandemic to report the differences here.
We used the FBProphet library to fit a Bayesian additive model for forecasting the energy use time-series.
Data from the US Energy Information Administration (EIA):
Monthly energy sales by state and sector
Monthly Heating and cooling days
Data from the National Oceanic and Atmospheric Administration (NOAA):
covid-energy-burden/
├── LICENSE
├── README.md <- The top-level README for developers using this project
│
├── data <- Folder where the intermediate data files are stores
│ ├── energy_data.csv <- Raw energy use data by state and sector along with other variables used in the model
│ └── energy_predictions.csv <- Raw energy use data with predictions from the model
│
├── src
│ ├── utils.py <- Utility functions used across the analysis pipeline
│ ├── EnergyData.ipynb <- Notebook detailing the the data collection process
│ ├── EnergyModels.py <- Notebook detailing the modeling process
│ └── EnergyViz.ipynb <- Notebook for some accompaniying visualizations