CalcDailyPeakPeriods: Convert hourly data to HLH/LLH Daily

Description Usage Arguments Details Examples

Description

Given 24 hour matrix, it returns HLH/LLH Daily data frame.

Usage

1
CalcDailyPeakPeriods(date, mtx, market = "PNW", colname = "")

Arguments

date

Consecutive daily date data in 'date' format.

mtx

A matrix with 24 columns corresponding to each hour. Number of rows need to match the length of date.

market

"PNW", "CAISO" or "MISO"

colname

columnname prefixes to HLH/LLH.

Details

WECC definition was used in HLH/LLH split.

Examples

1
2
3
dates <- seq(as.Date("2000-1-1"), length.out = 20, by="day")
mtx <- matrix(1:(24*20), ncol=24)
CalcDailyPeakPeriods(dates, mtx, colname="Load_aMW_")

einaooka/tea.datetime documentation built on May 16, 2019, 1:25 a.m.