#include "Lights.hpp"
Static Public Member Functions | |
static IddObjectType | iddObjectType () |
Related Functions | |
typedef std::vector< Lights > | LightsVector |
typedef boost::optional< Lights > | OptionalLights |
Lights is a SpaceLoadInstance that wraps the OpenStudio IDD object 'OS:Lights'.
|
explicit |
|
inlinevirtual |
std::string openstudio::model::Lights::endUseSubcategory | ( | ) | const |
double openstudio::model::Lights::fractionReplaceable | ( | ) | const |
double openstudio::model::Lights::getLightingPower | ( | double | floorArea, |
double | numPeople | ||
) | const |
Returns the lighting level represented by this instance, assuming floorArea (m^2) and numPeople.
double openstudio::model::Lights::getPowerPerFloorArea | ( | double | floorArea, |
double | numPeople | ||
) | const |
Returns the watts/m^2 represented by this instance, assuming floorArea (m^2) and numPeople.
double openstudio::model::Lights::getPowerPerPerson | ( | double | floorArea, |
double | numPeople | ||
) | const |
Returns the watts/person represented by this instance, assuming floorArea (m^2) and numPeople.
|
static |
bool openstudio::model::Lights::isEndUseSubcategoryDefaulted | ( | ) | const |
bool openstudio::model::Lights::isFractionReplaceableDefaulted | ( | ) | const |
bool openstudio::model::Lights::isScheduleDefaulted | ( | ) | const |
Returns true if this object does not specify a schedule directly.
boost::optional<double> openstudio::model::Lights::lightingLevel | ( | ) | const |
Returns the lightingLevel if possible based on the underlying data of lightsDefinition().
LightsDefinition openstudio::model::Lights::lightsDefinition | ( | ) | const |
Gets the LightsDefinition object.
boost::optional<double> openstudio::model::Lights::powerPerFloorArea | ( | ) | const |
Returns the powerPerFloorArea if possible based on the underlying data of lightsDefinition().
boost::optional<double> openstudio::model::Lights::powerPerPerson | ( | ) | const |
Returns the powerPerPerson if possible based on the underlying data of lightsDefinition().
void openstudio::model::Lights::resetEndUseSubcategory | ( | ) |
void openstudio::model::Lights::resetFractionReplaceable | ( | ) |
void openstudio::model::Lights::resetMultiplier | ( | ) |
void openstudio::model::Lights::resetSchedule | ( | ) |
Resets the (fractional) Schedule.
boost::optional<Schedule> openstudio::model::Lights::schedule | ( | ) | const |
Returns the (fractional) lighting schedule.
If this object does not specify a schedule this function will search the hierarchy.
void openstudio::model::Lights::setEndUseSubcategory | ( | std::string | endUseSubcategory | ) |
bool openstudio::model::Lights::setFractionReplaceable | ( | double | fractionReplaceable | ) |
bool openstudio::model::Lights::setLightsDefinition | ( | const LightsDefinition & | definition | ) |
Sets the LightsDefinition object.
bool openstudio::model::Lights::setMultiplier | ( | double | multiplier | ) |
|
related |
|
related |