MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / peakDemandUnit

Method peakDemandUnit

src/model/UtilityBill.cpp:361–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 }
360
361 boost::optional<std::string> UtilityBill_Impl::peakDemandUnit() const {
362 if (this->fuelType() == FuelType::Electricity) {
363 return getString(OS_UtilityBillFields::PeakDemandUnit, true, true);
364 }
365 return boost::none;
366 }
367
368 boost::optional<std::string> UtilityBill_Impl::peakDemandUnitDescription() const {
369 boost::optional<std::string> result;

Callers 4

calibrationResultMethod · 0.45
TEST_FFunction · 0.45

Calls 1

fuelTypeMethod · 0.95

Tested by 1

TEST_FFunction · 0.36