#include <ErrorEstimation.hpp>
openstudio::runmanager::ErrorEstimation::ErrorEstimation |
( |
const size_t |
t_numVariables | ) |
|
openstudio::runmanager::FuelUses openstudio::runmanager::ErrorEstimation::add |
( |
const SqlFile & |
t_sql, |
|
|
const std::string & |
t_sourceName, |
|
|
const std::vector< double > & |
t_variables |
|
) |
| |
adds the data of an SqlFile simulation result into the ErrorEstimation and returns the error corrected values
- Parameters
-
[in] | t_sql | The SqlFile to pull the year end summary data from |
[in] | t_sourceName | The name of the simulation source this data is from, registered with addSource |
[in] | t_variables | The name of the variable that this data is for |
- Returns
- The error corrected values, or the input values if error correction was not possible
openstudio::runmanager::FuelUses openstudio::runmanager::ErrorEstimation::add |
( |
const isomodel::UserModel & |
t_userModel, |
|
|
const isomodel::ISOResults & |
t_results, |
|
|
const std::string & |
t_sourceName, |
|
|
const std::vector< double > & |
t_variables |
|
) |
| |
Adds the data of an ISOResults from an ISO simulation into the ErrorEstimation and returns the error corrected values;.
- Parameters
-
[in] | t_userModel | The isomodel UserModel |
[in] | t_results | The SqlFile to pull the year end summary data from |
[in] | t_sourceName | The name of the simulation source this data is from, registered with addSource |
[in] | t_variables | The name of the variable that this data is for |
- Returns
- The error corrected values, or the input values if error correction was not possible
Returns an estimated FuelUsage for the given variable at the given value.
- Parameters
-
[in] | t_variables | The variable to |
double openstudio::runmanager::ErrorEstimation::getConfidence |
( |
const std::string & |
t_sourceName | ) |
const |
- Returns
- the confidence for the given source name
void openstudio::runmanager::ErrorEstimation::setConfidence |
( |
const std::string & |
t_sourceName, |
|
|
double |
t_confidence |
|
) |
| |
Sets the confidence level for a given data source.