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

Method wattsperPerson

src/model/LightsDefinition.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 boost::optional<double> LightsDefinition_Impl::wattsperPerson() const {
71 boost::optional<double> result;
72 if (istringEqual("Watts/Person", this->designLevelCalculationMethod())) {
73 result = getDouble(OS_Lights_DefinitionFields::WattsperPerson, true);
74 //OS_ASSERT(result);
75 }
76 return result;
77 }
78
79 double LightsDefinition_Impl::fractionRadiant() const {
80 boost::optional<double> value = getDouble(OS_Lights_DefinitionFields::FractionRadiant, true);

Callers 15

hardSizeMethod · 0.45
powerPerPersonMethod · 0.45
hardSizeMethod · 0.45
hardSizeMethod · 0.45
powerPerPersonMethod · 0.45
hardSizeMethod · 0.45
powerPerPersonMethod · 0.45
hardSizeMethod · 0.45
hardSizeMethod · 0.45
powerPerPersonMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

istringEqualFunction · 0.85

Tested by 5

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36