GithubHelp home page GithubHelp logo

tsdataclinic / covid-energy-burden Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 26.14 MB

Energy burden and other related analysis during Covid-19 using open EIA data

License: Apache License 2.0

Jupyter Notebook 99.75% Python 0.25%

covid-energy-burden's Introduction

Estimating additional energy use during Covid

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.

Methodology

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 Sources

Data from the US Energy Information Administration (EIA):

Monthly energy sales by state and sector

Number of consumers

Monthly Heating and cooling days

Data from the National Oceanic and Atmospheric Administration (NOAA):

Storm events

Directory Structure

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

covid-energy-burden's People

Contributors

kaushik12 avatar rachaelwr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.