Skip to content

geothermal.py

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

Description: This module uses LCA emissions data to calculate the emissions of geothermal power generation for every plant in EIA-923. The output dataframe, geo_merged, organizes the emissions by plant ID, scaled by the electricity generated at that plant. The dataframe is outputted as a CSV file: geothermal_emissions_{year}.csv

Functions:

  • generate_upstream_geo(year) - Contains all content in this module. Outputs a dataframe called geo_merged, which is organized by plant_id and melted on the FlowName.
  • Calls eia923_download_extract(year)

Data:

  • EIA-923 - The survey Form EIA-923 collects detailed electric power data -- monthly and annually -- on electricity generation, fuel consumption, fossil fuel stocks, and receipts at the power plant and prime mover level (EIA)
  • geothermal_lci.csv - CSV file with LCA impact species determined for geothermal generation in the U.S., grouped by state, in addition to a U.S. average.

Dependencies:

  • pandas
  • electricitylci
  • copy
Clone this wiki locally