Sustainability

CO2 Emissions Calculations

Cumulative CO2 Production

indsl.sustainability.co2_emissions_calculations.cumulative_co2_production(rate_of_emissions: Series, start_date: Timestamp | None = None) Series

Cumulative CO2 production.

This function calculates the total CO2 production according to the rate of emissions. The total is calculated by performing trapezoidal integration over time (granularity of 1 hour). The rate of emissions is resampled to 1-hour granularity accordingly. If no start time is specified, it will default to the start of the current year.

Parameters:
  • rate_of_emissions – Rate of CO2 released Rate of CO2 released over time (e.g., kg CO2/time or tonnes CO2/time).

  • start_date – Start date Start date to begin cumulative calculation.

Returns:

Cumulative CO2 emissions

Cumulative CO2 emissions (e.g., kg CO2 or tonnes CO2).

Return type:

pandas.Series

Cumulative CO2 Cost

indsl.sustainability.co2_emissions_calculations.cumulative_co2_cost(data: Series, co2_cost_factor: float, emissions_factor: float, start_date: Timestamp | None = None) Series

Cumulative CO2 cost.

This function calculates the cumulative cost of CO2 for either a combustor or power consumer. It calculates the rate of CO2 emitted and then uses that to calculate total CO2 emitted. This is then multiplied by the cost factor to get the total cumulative cost. Note that the co2_cost_factor, emissions_factor, and data must have consistent units to generate a currency output.

Parameters:
  • data – Power or fuel consumption Power consumption (e.g., MJ/time) or fuel consumption (e.g., kg fuel/time or m^3 fuel/time).

  • co2_cost_factor – Cost per mass of CO2 emitted Cost per mass of CO2 emitted (e.g., USD/kg CO2 or USD/tonne CO2).

  • emissions_factor – Mass of CO2 emitted Mass of CO2 emitted per mass (e.g., kg CO2/kg fuel), volume (e.g., kg CO2/m^3 fuel), or energy (e.g., kg CO2/MJ) of power source consumed.

  • start_date – Start date Start date to begin cumulative calculation.

Returns:

Cumulative cost

Cumulative cost of CO2 emissions (e.g., USD).

Return type:

pandas.Series

Rate of CO2 Emissions

indsl.sustainability.co2_emissions_calculations.rate_of_emissions(data: Series, emissions_factor: float) Series

Rate of emissions.

This function calculates the rate of emissions generated by a power consumer or a combustor.

\[\mathrm{Rate\ of\ emissions = Emissions\ Factor \times Power\ (or\ Fuel\ Flow\ Rate)}\]

The units for the time series and the emissions factor should be consistent to deliver an expected unit for the output in kg (or tonnes) CO2/time.

Parameters:
  • data – Time series Time series representing either power (e.g., MJ/time) or rate of fuel consumption (e.g., kg fuel/time or m^3 fuel/time).

  • emissions_factor – Emissions factor CO2 emitted per unit of energy (e.g., kg CO2/MJ), mass (e.g., kg CO2/kg fuel), or volume (e.g., kg CO2/m^3 fuel).

Returns:

Rate of emissions

Rate of emissions (e.g., kg CO2/time or tonnes CO2/time).

Return type:

pandas.Series

Emissions Factor for Combustor

indsl.sustainability.co2_emissions_calculations.emissions_factor_combustor(emissions_factor: float | None = None, heating_value: float | None = None, carbon_content: float | None = None) float

Combustor emissions factor.

This function calculates the emissions factor of a combustor (e.g., gas turbine, flare, etc.). Three different methods can be used to perform this calculation:

  • Method 1: Specify the emissions factor in CO2 emitted per mass or volume unit.

  • Method 2: Specify the emissions factor in CO2 per energy unit and convert it to mass or volume rate using the heating value.

\[\mathrm{EF [per\ mass\ or\ volume\ of\ fuel] = EF [per\ unit\ of\ energy] \times Heating\ Value}\]
  • Method 3: Specify the carbon content of the fuel and use that as the emissions factor.

Parameters:
  • emissions_factor – CO2 emitted CO2 emitted either per mass (e.g., kg CO2/kg fuel), volume (e.g., kg CO2/m^3 fuel), or energy unit (e.g., kg CO2/MJ).

  • heating_value – Heating value of the fuel Heating value of the fuel (e.g., MJ/kg fuel or MJ/m^3 fuel).

  • carbon_content – Carbon content of fuel Carbon content of the fuel (e.g., kg C/kg fuel).Carbon content of fuel (e.g., kg C/kg fuel or kg C/m^3 fuel).

Returns:

Emissions factor

Emissions factor per mass or volume of fuel (e.g., kg CO2/kg fuel or kg CO2/m^3 fuel).

Return type:

float