-
Notifications
You must be signed in to change notification settings - Fork 1
egrid_facilities.py
Description: The main purpose of this script is to modify the eGRID
facility list to include the percent of generation from the plant's primary fuel type.
- This script, when called, simplifies the
eGRID
dataframe to only contain the percent generation from the plant's primary fuel type. It creates an intermediate dataframe to select and store the primary percentage while removing the percentages from the importedeGRID
dataframe. it returns this dataframe after merging the primary percentage to it.
Functions:
-
add_percent_generation_from_primary_fuel_category_col(x)
- Gets the fuel percentage of the plant's primary fuel category and assigns it to a new column -
list_facilities_w_percent_generation_from_primary_fuel_category_greater_than_min()
- Returns a list of plant IDs for the plants that operate on primarily (>90%) just one fuel type
Data: eGRID
data that is sourced from the stewi
package.
Dependencies:
- pandas
- stewi
- os.path --> join
- 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