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

Method getLightingPower

src/model/SpaceType.cpp:862–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860 }
861
862 double SpaceType_Impl::getLightingPower(double floorArea, double numPeople) const {
863 double result(0.0);
864 for (const Lights& lightsObject : lights()) {
865 result += lightsObject.getLightingPower(floorArea, numPeople);
866 }
867 for (const Luminaire& luminaire : luminaires()) {
868 result += luminaire.lightingPower();
869 }
870 return result;
871 }
872
873 double SpaceType_Impl::getLightingPowerPerFloorArea(double floorArea, double numPeople) const {
874 double result(0.0);

Callers

nothing calls this directly

Calls 1

lightingPowerMethod · 0.45

Tested by

no test coverage detected