fit_TOWT_reg: Utility function for model_with_TOWT

View source: R/fit_TOWT_reg.R

fit_TOWT_regR Documentation

Utility function for model_with_TOWT

Description

This function builds an energy use/demand models separated by occupancy and temperature regimens.

Usage

fit_TOWT_reg(
  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:

model_occupied

an lm object generated when using Time-of-Week and Time-of-Week & Temperature algorithms

model_unoccupied

an lm object generated when using TOWT algorithm when the unoccupied period is discernably different from the occupied period

training_data

training dataframe along with the model_fit values

prediction_data

prediction dataframe along with the model prediction values. Only generated when prediction_data is supplied to the algorithm


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