TOU_to_streaming: TOU to streaming rate converter

TOU_to_streamingR Documentation

TOU to streaming rate converter

Description

Function to import CSV files that contain TOU rate information and convert the TOU structure to a streaming structure.

Usage

TOU_to_streaming(
  holidays,
  tou_file,
  start_date,
  end_date,
  time_zone = "America/Los_Angeles",
  verbose = FALSE
)

Arguments

holidays

data.frame of holiday dates and information from import_holidays()

tou_file

atomic character with the path to a CSV file with TOU rate information

start_date

atomic character or Date for the beginning of the period the streaming rate should cover

end_date

atomic character or Date for the end of the period the streaming rate should cover

time_zone

atomic character the time zone where the rate is offered. This should be one of the time zones listed in OlsonNames(). Dates and times in the CSV are assumed to be in the specified time zone.

verbose

atomic logical whether to print messages to support debugging


stefwayland/cecmidas documentation built on Aug. 27, 2023, 2:36 p.m.