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

Method shadingControlType

src/radiance/WindowGroup.cpp:125–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 std::string WindowGroup::shadingControlType() const {
126 std::string result = "AlwaysOff";
127 if (m_shadingControl) {
128 result = m_shadingControl->shadingControlType();
129
130 if (istringEqual("OnIfScheduleAllows", result)) {
131 result = "OnIfHighSolarOnWindow";
132 LOG(Warn, "ShadingControlType 'OnIfHighSolarOnWindow' is not currently supported for ShadingControl '"
133 << m_shadingControl->name().get() << "', using 'OnIfHighSolarOnWindow' instead.");
134 }
135 }
136
137 return result;
138 }
139
140 std::string WindowGroup::shadingControlSetpoint() const {
141 std::string result = "n/a";

Callers 5

translateModelMethod · 0.45
buildingSpacesMethod · 0.45
TEST_FFunction · 0.45

Calls 3

istringEqualFunction · 0.85
getMethod · 0.45
nameMethod · 0.45

Tested by 1

TEST_FFunction · 0.36