Description Usage Arguments Value Examples
This function run batches given given a utility data frame of unretrofit data and energy. See unretrofit_utility.
1 2 3 | batch_run_energy(utility, energy, metric_vec = c(1, 2, 3, 4, 5),
plot_flag = FALSE, step = 0.5, CV_RMSE_n = 0.25,
Rsquared_n = 0.75, n = 4, all_model_flag = FALSE)
|
utility |
A utility data frame of unretrofit data with multiple buildings. The data frame must have columns: OAT, usage and estimated |
energy |
A character string. Energy Type, either 'Elec' or 'Fuel'. |
metric_vec |
A numeric (integer) vector. This vector determines the pirority of model types. Defaults to |
plot_flag |
A boolean value. Defaults to |
step |
A single numeric value or a vector. If it is a single numeric value, |
CV_RMSE_n |
A numeric value. CV-RMSE threshold value. Defaults to 0.25. |
Rsquared_n |
A numeric value. Rsquared threshold value. Defaults to 0.75. |
n |
A numeric value that determines threshold for population test: |
all_model_flag |
A boolean value. Defaults to |
A list with components:
best_result_df |
A data frame of best models of multiple buildings. If a building does not model, it will not be shown in this data frame. |
plot_list |
A list containing plots. If |
all_model_df |
A data frame of all models of multiple buildings. If |
1 2 3 4 | ## Not run:
batch_result = batch_run_energy(unretrofit_utility, 'Elec')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.