aquakin.CarbonFootprint#

class aquakin.CarbonFootprint(direct_n2o, energy_kwh, ch4_fugitive, biogas_recovered_kwh, grid_factor, gwp_n2o, gwp_ch4, direct_n2o_co2e, energy_co2e, ch4_fugitive_co2e, biogas_credit_co2e, total_co2e, note='GHG footprint as CO2e/d (IPCC AR6 GWPs: N2O 273, biogenic CH4 27). Direct N2O is stripped from the aerated reactors; energy CO2e uses the supplied grid carbon intensity; the biogas credit is the avoided grid emission of the recovered biogas energy. Defaults are representative -- override the GWPs / grid factor for a specific standard or grid.')[source]#

Bases: object

A plant’s greenhouse-gas footprint as a CO₂-equivalent mass flow.

str(fp) / report() give a labeled breakdown; the raw fields stay available for programmatic use and kpis() exposes the headline numbers for a scenario KPI table.

Variables:
  • direct_n2o (float) – Direct N₂O emission (kg N₂O-N/d) stripped from the aerated reactors.

  • energy_kwh (float) – Total electricity draw (kWh/d) attributed to the footprint (aeration + pumping + mixing).

  • ch4_fugitive (float) – Fugitive (unburned, leaked) methane (kg CH₄/d).

  • biogas_recovered_kwh (float) – Electricity the recovered biogas displaces (kWh/d) – an avoided-emission credit, valued at the grid factor.

  • grid_factor (float) – Grid carbon intensity used (kg CO₂e/kWh).

  • gwp_ch4 (gwp_n2o,) – The GWPs used.

  • biogas_credit_co2e (direct_n2o_co2e, energy_co2e, ch4_fugitive_co2e,) – The CO₂e contributions (kg CO₂e/d); biogas_credit_co2e is the avoided emission (subtracted from the total).

  • total_co2e (float) – Net carbon footprint (kg CO₂e/d).

Parameters:
  • direct_n2o (float)

  • energy_kwh (float)

  • ch4_fugitive (float)

  • biogas_recovered_kwh (float)

  • grid_factor (float)

  • gwp_n2o (float)

  • gwp_ch4 (float)

  • direct_n2o_co2e (float)

  • energy_co2e (float)

  • ch4_fugitive_co2e (float)

  • biogas_credit_co2e (float)

  • total_co2e (float)

  • note (str)

__init__(direct_n2o, energy_kwh, ch4_fugitive, biogas_recovered_kwh, grid_factor, gwp_n2o, gwp_ch4, direct_n2o_co2e, energy_co2e, ch4_fugitive_co2e, biogas_credit_co2e, total_co2e, note='GHG footprint as CO2e/d (IPCC AR6 GWPs: N2O 273, biogenic CH4 27). Direct N2O is stripped from the aerated reactors; energy CO2e uses the supplied grid carbon intensity; the biogas credit is the avoided grid emission of the recovered biogas energy. Defaults are representative -- override the GWPs / grid factor for a specific standard or grid.')#
Parameters:
  • direct_n2o (float)

  • energy_kwh (float)

  • ch4_fugitive (float)

  • biogas_recovered_kwh (float)

  • grid_factor (float)

  • gwp_n2o (float)

  • gwp_ch4 (float)

  • direct_n2o_co2e (float)

  • energy_co2e (float)

  • ch4_fugitive_co2e (float)

  • biogas_credit_co2e (float)

  • total_co2e (float)

  • note (str)

Return type:

None

Methods

__init__(direct_n2o, energy_kwh, ...[, note])

kpis()

Headline GHG KPIs (kg CO₂e/d unless noted) for a comparison table.

report()

Attributes

note

direct_n2o

energy_kwh

ch4_fugitive

biogas_recovered_kwh

grid_factor

gwp_n2o

gwp_ch4

direct_n2o_co2e

energy_co2e

ch4_fugitive_co2e

biogas_credit_co2e

total_co2e

kpis()[source]#

Headline GHG KPIs (kg CO₂e/d unless noted) for a comparison table.

Return type:

dict