Skip to content

ampd_plant_emissions.py

Matt Jamieson edited this page May 19, 2020 · 4 revisions

Description: This module generates facility-level power plant emissions using data from Air Markets Program Data (AMPD), if possible. If there are problems with the AMPD, then emissions are calculated using emissions factors from the Environmental Protection Agency AP-42. The emissions from this module are meant to serve as a replacement for the emissions provided by eGRID (carbon dioxide, methane, nitrogen oxides, sulfur dioxide, and nitrous oxide) with the goal of being more transparent about the process to choose the source of emissions and to use the actual measured data when possible.

Functions: The module contains a single function generate_plant_emissions(year), which will download the data as necessary, perform all calculations and comparisons, and return a dataframe that is ready to be concatenated with the rest of the facility-level emissions.

Data:

  • Air Markets Program Data

Dependencies:

  • pandas
  • numpy
  • electricitylci
  • fedelemflowlist
  • logging
Clone this wiki locally