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

Method setRatedFlowRate

src/model/PumpConstantSpeed.cpp:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 bool PumpConstantSpeed_Impl::setRatedFlowRate(boost::optional<double> ratedFlowRate) {
166 bool result(false);
167 if (ratedFlowRate) {
168 result = setDouble(OS_Pump_ConstantSpeedFields::RatedFlowRate, ratedFlowRate.get());
169 } else {
170 resetRatedFlowRate();
171 result = true;
172 }
173 OS_ASSERT(result);
174 return result;
175 }
176
177 void PumpConstantSpeed_Impl::resetRatedFlowRate() {
178 bool result = setString(OS_Pump_ConstantSpeedFields::RatedFlowRate, "");

Callers 4

translatePumpMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
lowtemprad_constflowFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
lowtemprad_constflowFunction · 0.36