| 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); |
nothing calls this directly
no test coverage detected