Description Usage Arguments Value Examples
View source: R/retrofit_controller.R
This function run batches given a utility data frame of retrofit data. See retrofit_utility.
1 2 3 4 | batch_run_retrofit(utility, metric_elec = c(1, 2, 3, 4, 5),
metric_fuel = c(1, 5, 4, 3, 2), plot_flag = FALSE, step = 0.5,
CV_RMSE_elec = 0.25, Rsquared_elec = 0.75, CV_RMSE_fuel = 0.5,
Rsquared_fuel = 0.75, n_pre = 4, n_post = 4)
|
utility |
A utility data frame of retrofitted data with multiple buildings. |
metric_elec |
A numeric (integer) vector. This vector determines the pirority of model types for elec. Defaults to |
metric_fuel |
A numeric (integer) vector. This vector determines the pirority of model types for fuel. 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_elec |
A numeric value. CV-RMSE threshold value for Elec. Defaults to 0.25. |
Rsquared_elec |
A numeric value. Rsquared threshold value for Elec. Defaults to 0.75. |
CV_RMSE_fuel |
A numeric value. CV-RMSE threshold value for Fuel. Defaults to 0.50. |
Rsquared_fuel |
A numeric value. Rsquared threshold value for Fuel. 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_retrofit(retrofit_utility)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.