loadNZEAYearlyEmbeddedGenData: Load the pre-downloaded yearly NZ EA embedded generation...

View source: R/loadNZEAYearlyEmbeddedGenData.R

loadNZEAYearlyEmbeddedGenDataR Documentation

Load the pre-downloaded yearly NZ EA embedded generation files in to a data.table

Description

loadNZEAYearlyEmbeddedGenData returns a dt with a proper rDateTimeNZT added & set to NZ tzone. The embedded generation data from XX does not have a fuel type so we cannot calculate carbon intensity. We also assume that I means inflow (to the grid - so we add this to the grid generation) and that X means outflow (to the LV network) which we don't really care about.

Usage

loadNZEAYearlyEmbeddedGenData(path, fromYear, update)

Arguments

path

the folder to look in for the data

fromYear

the year to start from (needs to be in the data file names - you did name them sensibly, yes?)

Details

Presumably the sum of X is the sum of consumption across the POCs which happen to have embedded generation. Maybe.

Author(s)

Ben Anderson, b.anderson@soton.ac.uk

See Also

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


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