Electricity¶
Electricity is a Scope 2 Emission that includes the generation, transmission, and distribution of electricity. Carbon dioxide and smaller amounts of methane and nitrous oxide are released during the combustion of fossil fuels, such as coal, oil, and natural gas, to produce electricity.
Usage¶
- class atomic6ghg.formulas.electricity.Electricity(wks_data=None)¶
Calculate emissions from purchased gases
- static calculate_location_based_emissions_electricity(purchased_amount, subregion, fuel)¶
Calculate CO2 emissions for a gas given material balance inputs
- static calculate_market_based_emissions_electricity(purchased_amount, emissions_factor, subregion, fuel)¶
Calculate CO2 emissions for a gas given material balance inputs
- make_co2_equivalent_emissions_location_based()¶
Calculate co2 equivalent emissions
- make_co2_equivalent_emissions_market_based()¶
Calculate co2 equivalent emissions
- make_emissions()¶
Calculate emissions for all fuels burned
- make_total_emissions_for_all_sources()¶
Make total row
- recalc(wks_data: dict) dict ¶
Execute recalc procedure for Electricity
- subregions = ['akgd', 'akms', 'aznm', 'camx', 'erct', 'frcc', 'hims', 'hioa', 'mroe', 'mrow', 'newe', 'nwpp', 'nycw', 'nyli', 'nyup', 'prms', 'rfce', 'rfcm', 'rfcw', 'rmpa', 'spno', 'spso', 'srmv', 'srmw', 'srso', 'srtv', 'srvc']¶
- to_dict()¶
API to expose _output
- to_json()¶
API to expose _output as JSON
Python example code usage:
from atomic6ghg.formulas import Electricity
electricity_input: dict = {
"version": "electricity.1.0.0",
"totalElectricityPurchased": [
{"eGridSubregion": "akgd", "electricityPurchased": 250,
"marketBasedEmissionFactorsCO2Emissions": 8.7,
"marketBasedEmissionFactorsCH4Emissions": 8.7,
"marketBasedEmissionFactorsN2OEmissions": 8.7}
]
}
engine = Electricity(electricity_input)
outputs: dict = engine.to_dict()
print(outputs.get('CO2EquivalentEmissionsLocationBasedElectricityEmissions'))
print(outputs.get('CO2EquivalentEmissionsMarketBasedElectricityEmissions'))
EPA Equation Analysis¶
Electricity allows for inputs of purchased electricity quantities for the following eGrid subregions with units of kWh:
eGrid Subregion |
---|
AKGD (ASCC Alaska Grid) |
AKMS (ASCC Miscellaneous) |
AZNM (WECC Southwest) |
CAMX (WECC California) |
ERCT (ERCOT All) |
FRCC (FRCC All) |
HIMS (HICC Miscellaneous |
HIOA (HICC Oahu) |
MROE (MRO East) |
MROW (MRO West) |
NEWE (NPCC New England) |
NWPP (WECC Northwest) |
NYCW (NPCC NYC/Westchester) |
NYLI (NPCC Long Island) |
NYUP (NPCC Upstate NY) |
PRMS (Puerto Rico Miscellaneous) |
RFCE (RFC East) |
RFCM (RFC Michigan) |
RFCW (RFC West) |
RMPA (WECC Rockies) |
SPNO (SPP North) |
SPSO (SPP South) |
SRMV (SERC Mississippi Valley) |
SRMW (SERC Midwest) |
SRSO (SERC South) |
SRTV (SERC Tennessee Valley) |
SRVC (SERC Virginia/Carolina) |
The fundamental calculation for each eGrid subregion are their \(Market\; Based\; \text{CO}_2\), \(Market\; Based\; \text{CH}_4\), \(Market\; Based\; \text{N}_2\text{O}\) emissions and their \(Location\; Based\; \text{CO}_2\), \(Location\; Based\; \text{CH}_4\), \(Location\; Based\; \text{N}_2\text{O}\) emissions associated with the electricity purchased. The formulas are:
This equation is derived from Equation 1 from [EPA2020_p3].
where \(Electricity\; Purchased_{eGrid\, subregion}\) is converted into watts, the default \(Location\; Based\; Emission\; Factor_{eGrid\ subregion,\, GHG}\) value is the emission factor for that \(eGrid Subregion\) and \(GHG\) if no \(Location\; Based\; Emission\; Factor_{eGrid\ subregion,\, GHG}\) value is input by the user, and the default \(Market\; Based\; Emission\; Factor_{eGrid\ subregion,\, GHG}\) value is the \(Location\; Based\; Emission\; Factor_{eGrid\ subregion, GHG}\) if no \(Market\; Based\; Emission\; Factor_{eGrid\ subregion, GHG}\) value is input by the user.
For electricity, the \(\text{CO}_2\; Equivalent\; Emissions_{method,\, GHG}\) in metric tons is calculated based on the \(Total\; Emissions\; for\; All\; Sources_{method, GHG}\). The formula is:
This equation is derived from Equation 1 from [EPA2020_p3].
where \(Total\; Emissions\; for\; All\; Sources_{method, GHG}\) are the sums of all the emissions for that \(GHG\) (\(\text{CO}_2\;\), \(\text{CH}_4\), or \(\text{N}_2\text{O}\)) and \(method\) (either \(location\; based\) or \(market\; based\)), and \(GWP_{GHG}\) is the global warming potential of that \(GHG\). Note that in atomic6 the final value of this calculation is converted into \(metric \; tons\).