OpenStudio:model
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Pages

#include "SpaceLoadDefinition.hpp"

Inheritance diagram for openstudio::model::SpaceLoadDefinition:

Public Member Functions

double floorArea () const
std::vector< SpaceLoadInstanceinstances () const
int quantity () const
virtual ~SpaceLoadDefinition ()

Protected Member Functions

 SpaceLoadDefinition (IddObjectType type, const Model &model)

Related Functions

typedef boost::optional
< SpaceLoadDefinition
OptionalSpaceLoadDefinition
typedef std::vector
< SpaceLoadDefinition
SpaceLoadDefinitionVector

Detailed Description

SpaceLoadDefinition is an abstract class derived from ResourceObject.

SpaceLoadDefinitions describe internal loads in a generic way that can be used by multiple Spaces or SpaceTypes . For instance, a LightsDefinition might define the appropriate amount of task lighting for a workstation in W/person, or an ElectricEquipmentDefinition might define a coffee maker in terms of its maximum power draw (W). Multipliers and schedules are defined by the corresponding SpaceLoadInstance objects. (Different usage patterns of the same amount of task lighting, or different numbers of coffee makers, can be defined on a space-by-space basis, for instance.)

Constructor & Destructor Documentation

virtual openstudio::model::SpaceLoadDefinition::~SpaceLoadDefinition ( )
inlinevirtual
openstudio::model::SpaceLoadDefinition::SpaceLoadDefinition ( IddObjectType  type,
const Model model 
)
protected

Constructs a new SpaceLoadDefinition object in the model.

Member Function Documentation

double openstudio::model::SpaceLoadDefinition::floorArea ( ) const

Returns the floor area associated with instances of this space load definition.

If two instances are in the same space then that floor area will be double counted. If two instances used in the same space type then that floor area will be double counted. Space and SpaceLoadInstance multipliers are included in the result.

std::vector<SpaceLoadInstance> openstudio::model::SpaceLoadDefinition::instances ( ) const

Returns all instances of this definition.

int openstudio::model::SpaceLoadDefinition::quantity ( ) const

Returns the number of instances of this space load.

Space and SpaceLoadInstance multipliers are included in the result

Friends And Related Function Documentation

typedef boost::optional<SpaceLoadDefinition> OptionalSpaceLoadDefinition
related
typedef std::vector<SpaceLoadDefinition> SpaceLoadDefinitionVector
related