4.7. emission_costs module¶
- emission_costs.calc_emission_costs(settings, inv_df, costs_df, id_cols)[source]¶
- Parameters:
settings: The SetInputs class.
inv_df: A DataFrame of emission inventories.
costs_df: A DataFrame based on one of the output cost reports.
id_cols: A List of the identifying columns to use as keys for the inventory dictionary that is created in function.
- Return:
A DataFrame of emission-related pollution (damage) costs (inventory times cost factor).
- emission_costs.get_criteria_cost_factors(settings, calendar_year, reg_class, fuel_type, discrate, cap_dict)[source]¶
- Note:
This function reads a dictionary of emission cost factors and returns those for the max year <= the passed year.
- Parameters:
settings: The SetInputs class.
calendar_year: The year for which $/ton values are needed. reg_class: The reg class for which $/ton values are needed. fuel_type: The fuel type for which $/ton values are needed. discrate: The criteria air pollutant discount rate series to retrieve.
- Return:
6 values - the PM25, NOx and SO2 emission cost factors (dollars/ton) for each of two different sources (tailpipe & upstream).
- emission_costs.get_scc_cost_factors(settings, year)[source]¶
- Note:
This function reads a dictionary of social cost of GHG cost factors and returns those for the passed year.
- Parameter:
settings: The SetInputs class.
year: The calendar year for which emission cost factors are needed.
- Return:
12 values - the CO2, CH4 and N2O emission cost factors (dollars/ton) for each of 4 different discount rate/estimation streams.