main_post_model: main_post_model

Description Usage Arguments Examples

View source: R/post_model_calc.R

Description

Main function for generating post model output; transforms best_model in a more meaningful way and calculates loads. Also can be used for retrofit data.

Usage

1
main_post_model(utility, best_model, scaled = TRUE)

Arguments

utility

Utility dataframe. See unretrofit_utility for the format.

best_model

Best Model dataframe returned by batch_run, batch_run_energy or construct_model_table.

scaled

Boolean value. Defaults to TRUE. Determine to multiply usage with number of days in the month.

Examples

1
2
3
4
5
## Not run: 
batch_result = batch_run(unretrofit_utility)
post_df = main_post_model(unretrofit_utility, batch_result$best_result_df)

## End(Not run)

tinnaing347/bRema documentation built on Aug. 23, 2019, 9:15 p.m.