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

Method setpoint2

src/model/ShadingControl.cpp:195–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 boost::optional<double> ShadingControl_Impl::setpoint2() const {
196 boost::optional<double> result = getDouble(OS_ShadingControlFields::Setpoint2);
197 if (!result) {
198 std::string shadingControlType = this->shadingControlType();
199 if (istringEqual("OnIfHighSolarOnWindow", shadingControlType)) {
200 result = 27; // w/m^2
201 }
202 }
203 return result;
204 }
205
206 std::string ShadingControl_Impl::multipleSurfaceControlType() const {
207 boost::optional<std::string> result = getString(OS_ShadingControlFields::MultipleSurfaceControlType, true);

Callers 3

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 2

shadingControlTypeMethod · 0.95
istringEqualFunction · 0.85

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64