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

Method setTimestepsInPeakDemandWindow

src/model/UtilityBill.cpp:503–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501 }
502
503 bool UtilityBill_Impl::setTimestepsInPeakDemandWindow(unsigned timestepsInPeakDemandWindow) {
504 if (this->fuelType() == FuelType::Electricity) {
505 return setUnsigned(OS_UtilityBillFields::TimestepsinPeakDemandWindow, timestepsInPeakDemandWindow);
506 }
507 return false;
508 }
509
510 void UtilityBill_Impl::resetTimestepsInPeakDemandWindow() {
511 bool test = setString(OS_UtilityBillFields::TimestepsinPeakDemandWindow, "");

Callers

nothing calls this directly

Calls 1

fuelTypeMethod · 0.95

Tested by

no test coverage detected