nzCalculateCO2e: 'nzCalculateCO2e' calculates the CO2e emissions (in kg) per...

View source: R/nzCalculateCO2e.R

nzCalculateCO2eR Documentation

nzCalculateCO2e calculates the CO2e emissions (in kg) per fuel per half-hour.

Description

Uses the EA grid generation data to sum yearly kWh by fuel and combines with the NZ efficiency and emission factors published at https://www.mbie.govt.nz/building-and-energy/energy-and-natural-resources/energy-statistics-and-modelling/energy-statistics/new-zealand-energy-sector-greenhouse-gas-emissions/

Usage

nzCalculateCO2e(dt, ef)

Arguments

dt

the data table with the half-hourly kWh values per fuel (do not include incomplete years)

ef

the MBIE emission factors file

Details

Returns a data.table of carbon intensity (gCO2-e/kWh) per fuel per year for further use

Notes:

* we estimate the factors each year by dividing the MBIE per-year totals (kt CO2-e) by the total per fuel per-year kWh in the data.table and then converting to g/kWh. If MBIE published the conversion factors this would not be necessary. But if they do, we have not been able to find them.

* the geothermal conversion _may not_ include fugitive emissions (?)

Author(s)

Ben Anderson, b.anderson@soton.ac.uk (original)

See Also

Other data: alignDates(), cleanNZEmbEA(), cleanNZGridEA(), cleanNZGxpEA(), cleanUkEmbeddedESO(), cleanUkGridESO(), getNZEmbData(), getNZEmbMeta(), getNZGridEA(), getNZGridMeta(), getNZGxpEA(), getNZGxpMeta(), getUkEmbeddedESO(), getUkGridESO(), loadNZEAYearlyEmbeddedGenData(), loadNZEAYearlyGridGenData(), loadUKESOYearlyGenData(), loadUKEmbeddedGenData(), makeNZYearlyData(), reshapeEmbeddedGenDT(), reshapeGenDT(), saveUkEmbeddedESO(), saveUkGridESO(), setEmbeddedGenTimePeriod(), setGridGenTimePeriod()

Other utils: addLockdownRect(), addSeason(), alignDates(), getDuration(), gzipFile(), loadLibraries(), setPeakPeriod(), setup(), tidyNum()


CfSOtago/gridCarbon documentation built on April 5, 2022, 6:46 a.m.