5.1.1.1. delta_e.EPAEmissions package
5.1.1.1.1. Submodules
5.1.1.1.2. delta_e.EPAEmissions.EPAEmissions module
module for EPAEmissions dataset
5.1.1.1.2.1. Project name:
OSeMOSYS Global
5.1.1.1.2.3. Researcher Name:
Trevor
5.1.1.1.2.4. Dataset name:
EPAEmissions
5.1.1.1.2.5. Description
100 year CO2, N20, and CH4 potential for varrious fuels
5.1.1.1.2.6. Version:
2018
5.1.1.1.2.7. Private or public:
Public
5.1.1.1.2.8. Region:
World
5.1.1.1.2.9. Time Horizon:
2018 : 2018
5.1.1.1.2.10. Spatial Resolution:
N/A
5.1.1.1.2.11. Link to access:
https://www.epa.gov/climateleadership/ghg-emission-factors-hub
5.1.1.1.2.12. Citation requirements:
Environmental Protection Agency
- class delta_e.EPAEmissions.EPAEmissions.EpaEmissions[source]
Bases:
objectProcesses EPA Emissions.
- get_available_fuels() List[str][source]
Gets available fuel types.
- Returns:
- List[str]
Available fuel types in EPA dataset
- get_gwp(emissions: List[str] = ['co2', 'n2o', 'ch4']) DataFrame[source]
Gets global warming potential adjusted emissions.
This function performs unit conversions and collapses the different emission types to a single co2 equivalent value for each fuel.
- Parameters:
emissions – List[str] Emissions from the EPA to include in the gwp calcualtion. Must be in the set (‘co2’,’n2o’,’ch4’)
- Returns:
- pd.DataFrame
dataframe where each fuel has a calculated single GWP value
Example
>>> epa = EpaEmissions() >>> gwp = epa.get_gwp() >>> gwp.loc['Natural Gas', ('co2_eq', 'kT/PJ')] >>> 50.3 # kT / PJ
- get_osemosys_emissions(epa_fuel: str, regions: List[str], technologies: List[str], emissions: List[str], modes: List[int], years: List[int], epa_emissions: List[int] = ['co2', 'n2o', 'ch4']) DataFrame[source]
Creates emission activity ratio dataframe for OSeMOSYS Models.
- Parameters:
epa_fuel – str, Fuel from EPA dataset
regions – List[str], Regions in the OSeMOSYS Model
technologies – List[str], Techs to attach the EAR value to
emissions – List[str], Emission set
modes – List[int], Modes to attach emission value to
years – List[int], Years to attach emission value to
epa_emissions – List[str] = [‘co2’,’n2o’,’ch4’] Emissions to include from EPA when calculating global warming potential
- Returns:
- pd.DataFrame
EmissionActivityRatio otoole formatted dataframe with columns: [REGION, TECHNOLOGY, EMISSION, MODE_OF_OPERATION, YEAR, VALUE]
Example
>>> epa = EpaEmissions() >>> epa.get_osemosys_emissions( epa_fuel='Natural Gas, regions=['BC'], technologies=['GAS'], emissions=['CO2'], modes=[1,2], years=[2020,2021])