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

Method getLightingPowerPerPerson

src/model/SpaceType.cpp:884–893  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882 }
883
884 double SpaceType_Impl::getLightingPowerPerPerson(double floorArea, double numPeople) const {
885 double result(0.0);
886 for (const Lights& lightsObject : lights()) {
887 result += lightsObject.getPowerPerPerson(floorArea, numPeople);
888 }
889 for (const Luminaire& luminaire : luminaires()) {
890 result += luminaire.getPowerPerPerson(numPeople);
891 }
892 return result;
893 }
894
895 boost::optional<double> SpaceType_Impl::electricEquipmentPowerPerFloorArea() const {
896 double result(0.0);

Callers

nothing calls this directly

Calls 1

getPowerPerPersonMethod · 0.45

Tested by

no test coverage detected