-
Notifications
You must be signed in to change notification settings - Fork 11
natural_gas_upstream.py
Description: This module uses LCA emissions data to calculate the upstream component of natural gas power plant operation (extraction, processing, and transportation) for every plant in EIA-923.
- Using LCA information for impacts of the upstream components of natural gas production, a dataframe is compiled that contains impact emissions for every natural gas plant in the U.S., scaled by production level.
Functions:
-
determine_compartment(df)
- Searches throughFlowName
column for signifier of impact compartment (e.g. air, water, soil). -
_remove_brackets(text)
- TheNG_LCI.csv
database defines impact streams using brackets to denote compartment. This function removes that component of the label (after placing component details in a separate column). -
generate_upstream
- Contains transformation of the datasets to produce the output (ng_lci_basin_grouped
) - 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) -
gas_supply_basin_mapping.csv
- CSV with identification information for every natural gas plant in the U.S. Once imported, this dataframe is simplified to contain just the plant code and itsNG_LCI_Name
. -
NG_LCI.csv
- CSV file with LCA impact species determined for every natural gas basin in the U.S. Flows are separated by specific upstream process: production, gathering & boosting, processing, transmission, storage, and pipeline.
Dependencies:
- pandas
- electricitylci
List of modules
__init__.py
aggregation_selector.py
ampd_plant_emissions.py
bulk_eia_data.py
cems_data.py
coal_upstream.py
combinator.py
consumption_mix.py
distribution.py
dqi.py
egrid_emissions_and_waste_by_facility.py
egrid_energy.py
egrid_facilities.py
egrid_filter.py
egrid_flowbyfacilty.py
egrid_FRS_matches.py
egrid_subregion_data_writer.py
eia860_facilities.py
eia923_generation.py
eia_io_trading.py
eia_trans_dist_grid_loss.py
elementaryflows.py
emissions_other_sources.py
generation.py
generation_mix.py
geothermal.py
globals.py
hydro_upstream.py
import_impacts.py
main.py
model_config.py
natural_gas_upstream.py
nuclear_upstream.py
olca_jsonld_writer.py
petroleum_upstream.py
PhysicalQuantities.py
plant_water_use.py
power_plant_construction.py
process_dictionary_writer.py
process_exchange_aggregator_uncertainty.py
solar_thermal_upstream.py
solar_upstream.py
technosphereflows.py
upstream_dict.py
utils.py
wind_upstream.py