getReserveNeeds: getReserveNeeds

Description Usage Arguments Value Examples

View source: R/minScript.R

Description

This function is the production method of @seealso getOperatingReserveNeeds in the @seealso scrapeData.R script. It is without console prints for faster computation and several steps are combined. This main function retrieves the operating reserve needs from https://www.transnetbw.de/de/strommarkt/systemdienstleistungen/regelenergie-bedarf-und-abruf. The resolution is 4sec. The function can take awhile since it has to download sever MBs of data. The oldest data that can be retrieved is July (07) 2010. The method also preprocesses the data in a nice format. Variables in the returned data.frame: - MW (numeric). The signed power needs for every 4sec. Point as decimal delimiter - DateTime (POSIXct). DateTime object in Y-m-d h:m:s format. Be aware of daylight saving. 4sec time windows.

CAUTION!!! —> DO NOT EXPAND THE TIME PERIOD OVER SEVERAL YEARS –> ONLY ONE YEAR IS ALLOWED (–> see addTimezone function!)

Usage

1
getReserveNeeds(startDate, endDate)

Arguments

startDate

sets the starting date. Format (german style): DD.MM.YYYY CAUTION!!! —> DO NOT EXPAND THE TIME PERIOD OVER SEVERAL YEARS –> ONLY ONE YEAR IS ALLOWED

endDate

sets the ending date. Format (german style): DD.MM.YYYY CAUTION!!! —> DO NOT EXPAND THE TIME PERIOD OVER SEVERAL YEARS –> ONLY ONE YEAR IS ALLOWED

Value

data.frame variable containing the 4sec operating reserve needs.

Examples

1
needs <- getReserveNeeds("30.12.2015", "02.01.2016")

wagnertimo/rmarketcrawlR documentation built on May 3, 2019, 7:37 p.m.