#include <TimeDependentValuationFile.hpp>
BuildingSector openstudio::TimeDependentValuationFile::buildingSector |
( |
unsigned |
columnIndex | ) |
const |
std::string openstudio::TimeDependentValuationFile::checksum |
( |
| ) |
const |
Returns a TimeDependentValuationFile with system() == targetSystem, if possible.
If the file is already in the given system, returns a copy of this object. Otherwise, creates a new file with empty path(). Save the new file to populate its path.
std::string openstudio::TimeDependentValuationFile::description |
( |
| ) |
const |
FuelType openstudio::TimeDependentValuationFile::fuelType |
( |
unsigned |
columnIndex | ) |
const |
Load file from path.
Only successful if file opens, name can be located, and each data column can be identified with a fuel type, a building sector, units, and 8760 real values. Does not check for existence/validity of nominal cost of energy. If that is not present or parsable, the ModelObject will always return boost::none for cost-based TDV values.
std::string openstudio::TimeDependentValuationFile::name |
( |
| ) |
const |
boost::optional<double> openstudio::TimeDependentValuationFile::nominalCommercialCostOfEnergy |
( |
| ) |
const |
Cost of energy for commercial buildings associated with this file, in $/J.
boost::optional<double> openstudio::TimeDependentValuationFile::nominalResidentialCostOfEnergy |
( |
| ) |
const |
Cost of energy for residential buildings associated with this file, in $/J.
unsigned openstudio::TimeDependentValuationFile::numColumns |
( |
| ) |
const |
openstudio::path openstudio::TimeDependentValuationFile::path |
( |
| ) |
const |
std::vector<Quantity> openstudio::TimeDependentValuationFile::quantities |
( |
unsigned |
columnIndex | ) |
const |
bool openstudio::TimeDependentValuationFile::save |
( |
const openstudio::path & |
p, |
|
|
bool |
overwrite = false |
|
) |
| |
UnitSystem openstudio::TimeDependentValuationFile::system |
( |
| ) |
const |
std::string openstudio::TimeDependentValuationFile::units |
( |
unsigned |
columnIndex | ) |
const |
std::vector<double> openstudio::TimeDependentValuationFile::values |
( |
unsigned |
columnIndex | ) |
const |