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

Method isRatedFlowRateAutosized

src/model/PumpConstantSpeed.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 bool PumpConstantSpeed_Impl::isRatedFlowRateAutosized() const {
80 bool result = false;
81 boost::optional<std::string> value = getString(OS_Pump_ConstantSpeedFields::RatedFlowRate, true);
82 if (value) {
83 result = openstudio::istringEqual(value.get(), "autosize");
84 }
85 return result;
86 }
87
88 double PumpConstantSpeed_Impl::ratedPumpHead() const {
89 boost::optional<double> value = getDouble(OS_Pump_ConstantSpeedFields::RatedPumpHead, true);

Callers 5

TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

istringEqualFunction · 0.85
getMethod · 0.45

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36