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

Method solarReflectance

src/model/Shade.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 double Shade_Impl::solarReflectance() const {
105 OptionalDouble od = getDouble(OS_WindowMaterial_ShadeFields::SolarReflectance, true);
106 if (!od) {
107 LOG_AND_THROW("Solar reflectance not yet set for " << briefDescription() << ".");
108 }
109 return *od;
110 }
111
112 double Shade_Impl::visibleAbsorptance() const {
113 return 1.0 - visibleTransmittance() - visibleReflectance();

Callers 5

TEST_FFunction · 0.45
TEST_FFunction · 0.45
translateMaterialMethod · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36