Skip to content

Python analysis to track EIA energy consumption and emissions in the United States

Notifications You must be signed in to change notification settings

ovinueza/EIA-Emissions-Project

 
 

Repository files navigation

U.S. Energy Consumption and CO2 Emissions

Motivation

As energy consumption has grown over the years, the impacts to the environment has grown significantly as well. Through this analysis, we wanted to get a better understanding of the relationship between energy consumption and the carbon dioxide emissions for various sectors and states as reported by the EIA.

Data

Source data is available through the EIA open data API

CO2 Emissions by State - All Fuels

CO2 Emissions by Sector

Energy Consumption by Sector

Definitions

The EIA provides 4 different sectors for energy consumption and emissions – Industrial, Transportation, Residential and Commercial.

• Industrial represents facilities and equipment used for manufacturing, agriculture, mining and construction.

• Transportation includes vehicles to transport people or goods such as cars, trucks, buses, motorcycles, trains, aircraft, boats, barges, and ships.

• Residential includes homes and apartments.

• Commercial sector includes offices, malls, stores, schools, hospitals, hotels, warehouses, restaurants and places of worship and public assembly.

There is a fifth sector for electric power which we did not include in the analysis as this electric sector consumes primary energy to generate most of the electricity the other four sectors consume.

Preparation

You will need: Python, Pandas, Requests, Numpy, Matplotlib, Scipy, EIA API key, and Plotly

plotly.py may be installed using pip...

$ pip install plotly==4.0.0

or conda.

$ conda install -c plotly plotly=4.0.0

Running Files

For Energy Consumption click here

For State CO2 Emissions click here

For CO2 Emissions by Sector click here

You will also need this file

and this file

Findings

The full write up of findings can be found here

A Presentation for this project can be found here

Authors

• Oswald Vinueza

State CO2 and Write Up

• Daniel Jones

Energy Consumption by Sector and Presentation

• Shahzad Naseer

CO2 Emission by Sector and Emission vs Consumption

About

Python analysis to track EIA energy consumption and emissions in the United States

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%