View source: R/calculate_savings_and_uncertainty.R
calculate_savings_and_uncertainty | R Documentation |
This function calculates meter-based savings achieved and the associated uncertainty.
calculate_savings_and_uncertainty(
prediction_df = NULL,
savings_fraction = 0.1,
modeled_object = NULL,
model_summary_statistics = NULL,
confidence_level = 90
)
prediction_df |
Model predictions. Output from calculate_model_predictions |
savings_fraction |
savings fraction value to use in savings uncertainty calculations. Used when prediction_df is set to NULL |
modeled_object |
List with model results. Output from model_with_SLR, model_with_CP, model_with_HDD_CDD, and model_with_TOWT. |
model_summary_statistics |
Dataframe with model statistics. Output from calculate_summary_statistics. |
confidence_level |
Numeric corresponding to the confidence level to be used for savings uncertainty calculation |
a list with the following components:
a dataframe with savings achieved for each timestamp.
a dataframe with total performance perioenergy use, total adjusted baseline use, total savingsachieved , savings percentage, savings uncertainty, savings percentage using 50 percent uncertainty, and the specified confidence level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.