-
Notifications
You must be signed in to change notification settings - Fork 11
generation.py
Description: One of the main core python files of this module, it combines all the data and performs all necessary calculations for different eGRID subregions or other desired regional aggregation categories and creates the dictionaries ( the LCA inventories but in python dictionary form) stored in the computer memory.
Functions: This module provides three key functions:
-
create_generation_process_df()
- Combines the emissions data from several sources, including STEWi and CEMS depending on the configuration. The emissions returned are facility-level emissions for the year. -
aggregate_data(total_db, subregion="BA")
- Aggregating a given set of facility-level emissions to the specified level of subregion (BA-balancing authority areas, FERC-Federal Energy Regulatory Commission regions, EIA-Energy Information Administration regions, all-EIA regions, NERC-National American Electric Reliability regions). In the process of aggregating data, a number of sub-routines are performed. -
olcachema_genprocess(database, upstream_dict={}, subregion="BA")
- Turns the dataframe of aggregated emissions into an openLCA-schema compatible dictionary.
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