#include <CalibrationResult.hpp>
CalibrationBillingPeriod is wrapper around Attribute for storing information about model calibration.
◆ CalibrationBillingPeriod()
openstudio::CalibrationBillingPeriod::CalibrationBillingPeriod |
( |
const Date & | startDate, |
|
|
unsigned | numberOfDays, |
|
|
const std::string & | consumptionUnit, |
|
|
boost::optional< std::string > | peakDemandUnit, |
|
|
boost::optional< double > | consumption, |
|
|
boost::optional< double > | peakDemand, |
|
|
boost::optional< double > | totalCost, |
|
|
boost::optional< double > | modelConsumption, |
|
|
boost::optional< double > | modelPeakDemand, |
|
|
boost::optional< double > | modelTotalCost ) |
Create attribute wrapper with all required information.
◆ attribute()
Attribute openstudio::CalibrationBillingPeriod::attribute |
( |
| ) |
const |
◆ attributeName()
static std::string openstudio::CalibrationBillingPeriod::attributeName |
( |
| ) |
|
|
static |
◆ consumption()
boost::optional< double > openstudio::CalibrationBillingPeriod::consumption |
( |
| ) |
const |
Returns the consumption in billing units.
◆ consumptionUnit()
std::string openstudio::CalibrationBillingPeriod::consumptionUnit |
( |
| ) |
const |
◆ endDate()
Date openstudio::CalibrationBillingPeriod::endDate |
( |
| ) |
const |
The date that the billing period ends.
◆ fromAttribute()
◆ modelConsumption()
boost::optional< double > openstudio::CalibrationBillingPeriod::modelConsumption |
( |
| ) |
const |
Returns the sum of modelConsumptionValues if it is not empty.
◆ modelPeakDemand()
boost::optional< double > openstudio::CalibrationBillingPeriod::modelPeakDemand |
( |
| ) |
const |
Returns the maximum peak over the billing period if available.
◆ modelTotalCost()
boost::optional< double > openstudio::CalibrationBillingPeriod::modelTotalCost |
( |
| ) |
const |
Returns total energy cost over the billing period if available.
◆ numberOfDays()
unsigned openstudio::CalibrationBillingPeriod::numberOfDays |
( |
| ) |
const |
The duration of the billing period in days.
◆ peakDemand()
boost::optional< double > openstudio::CalibrationBillingPeriod::peakDemand |
( |
| ) |
const |
Returns the peak demand in billing units.
◆ peakDemandUnit()
boost::optional< std::string > openstudio::CalibrationBillingPeriod::peakDemandUnit |
( |
| ) |
const |
◆ startDate()
Date openstudio::CalibrationBillingPeriod::startDate |
( |
| ) |
const |
The date that the billing period starts.
◆ totalCost()
boost::optional< double > openstudio::CalibrationBillingPeriod::totalCost |
( |
| ) |
const |
Returns the total cost of the bill in dollars.