model_demand_with_TOWT: Modeling electric demand Time-of-Week and Temperature.

View source: R/model_demand_with_TOWT.R

model_demand_with_TOWTR Documentation

Modeling electric demand Time-of-Week and Temperature.

Description

This function builds an electric demand models using two algorithms: TOWT and MW. This function is adapted from work by LBNL: https://lbnl-eta.github.io/RMV2.0/

Usage

model_demand_with_TOWT(
  training_data = NULL,
  prediction_data = NULL,
  model_input_options = NULL
)

Arguments

training_data

Training dataframe and operating mode dataframe. Output from create_dataframe

prediction_data

Prediction dataframe and operating mode dataframe. Output from create_dataframe

model_input_options

List with model inputs specified using assign_model_inputs

Value

a list with the following components:

final_train_matrix

training data matrix weighted according to timescale_days

reg_out

an lm object generated from fit_TOWT_reg

final_pred_matrix

prediction data matrix weighted according to timescale_days


kW-Labs/nmecr documentation built on May 6, 2024, 9:28 p.m.