Description Usage Arguments Value Examples
View source: R/retrofit_controller.R
This function run batches given given a utility data frame of retrofit data and energy. See retrofit_utility.
1 2 3 | batch_run_energy_retrofit(utility, energy, metric_vec = TRUE,
plot_flag = FALSE, step = 0.5, CV_RMSE_n = 0.25,
Rsquared_n = 0.75, n_pre = 4, n_post = 4)
|
utility |
A utility data frame of retrofitted data with multiple buildings. |
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_pre |
A numeric value that determines threshold for population test for pre-retrofit: |
n_post |
A numeric value that determines threshold for population test for post-retrofit: |
A list with components:
best_result_df |
A data frame of best models of mulitple buildings. If a building does not model, it will not be shown in this data frame. |
plot_list |
A list containing plots. If |
1 2 3 4 | ## Not run:
batch_result = batch_run_energy_retrofit(retrofit_utility, 'Elec')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.