aquakin.carbon_footprint#
- aquakin.carbon_footprint(energy_kwh_per_d, *, grid_factor=0.4, n2o_emission=0.0, methane_production=0.0, ch4_fugitive_fraction=0.0, biogas_recovered_kwh=0.0, gwp_n2o=273.0, gwp_ch4=27.0)[source]#
Assemble a
CarbonFootprintfrom energy use and gas emissions.- Parameters:
energy_kwh_per_d (float) – Total electricity draw (kWh/d) – e.g.
AE + PE + MEfrom aBSM2Evaluation.grid_factor (float) – Grid carbon intensity (kg CO₂e/kWh).
n2o_emission (float) – Direct N₂O emission as an N₂O-N mass flow (kg N/d), e.g. from
aquakin.plant.bsm.direct_n2o_emission().methane_production (float) – Digester methane production (kg CH₄/d).
ch4_fugitive_fraction (float) – Fraction of the produced methane that leaks unburned (0–1). The fugitive CH₄ is
ch4_fugitive_fraction × methane_production.biogas_recovered_kwh (float) – Electricity the recovered (combusted) biogas displaces (kWh/d) – an avoided-emission credit at
grid_factor. Defaults to 0 (no credit); a typical value is the lower heating value of the non-fugitive CH₄ times a CHP electrical efficiency.gwp_n2o (float) – Global warming potentials (kg CO₂e/kg gas).
gwp_ch4 (float) – Global warming potentials (kg CO₂e/kg gas).
- Return type: