OpenStudioCore:model
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "ElectricLoadCenterDistribution.hpp"

Inheritance diagram for openstudio::model::ElectricLoadCenterDistribution:

Public Member Functions

 ElectricLoadCenterDistribution (const Model &model)
virtual ~ElectricLoadCenterDistribution ()
std::vector< Generatorgenerators () const
std::string generatorOperationSchemeType () const
bool isGeneratorOperationSchemeTypeDefaulted () const
std::string electricalBussType () const
bool isElectricalBussTypeDefaulted () const
boost::optional< Inverterinverter () const
bool addGenerator (const Generator &generator)
bool removeGenerator (const Generator &generator)
void resetGenerators ()
bool setGeneratorOperationSchemeType (const std::string &generatorOperationSchemeType)
void resetGeneratorOperationSchemeType ()
bool setInverter (const Inverter &inverter)
void resetInverter ()

Static Public Member Functions

static std::vector< std::string > electricalBussTypeValues ()
static std::vector< std::string > generatorOperationSchemeTypeValues ()
static IddObjectType iddObjectType ()

Related Functions

typedef std::vector
< ElectricLoadCenterDistribution
ElectricLoadCenterDistributionVector
typedef boost::optional
< ElectricLoadCenterDistribution
OptionalElectricLoadCenterDistribution

Detailed Description

ElectricLoadCenterDistribution is a ParentObject that wraps the OpenStudio IDD object 'OS:ElectricLoadCenter:Distribution'.

There is no ElectricLoadCenter:Generators object in OpenStudio. Instead, the ElectricLoadCenterDistribution object references a model object list which references all of the associated generators. The rated electric power, availability schedule, and thermal to electric power ratio fields are contained in the generator objects themselves rather than the ElectricLoadCenter:Generators as in EnergyPlus. Electric storage and transformers will be added at a later date.

Constructor & Destructor Documentation

openstudio::model::ElectricLoadCenterDistribution::ElectricLoadCenterDistribution ( const Model model)
explicit
virtual openstudio::model::ElectricLoadCenterDistribution::~ElectricLoadCenterDistribution ( )
inlinevirtual

Member Function Documentation

bool openstudio::model::ElectricLoadCenterDistribution::addGenerator ( const Generator generator)
std::string openstudio::model::ElectricLoadCenterDistribution::electricalBussType ( ) const
static std::vector<std::string> openstudio::model::ElectricLoadCenterDistribution::electricalBussTypeValues ( )
static
std::string openstudio::model::ElectricLoadCenterDistribution::generatorOperationSchemeType ( ) const
static std::vector<std::string> openstudio::model::ElectricLoadCenterDistribution::generatorOperationSchemeTypeValues ( )
static
std::vector<Generator> openstudio::model::ElectricLoadCenterDistribution::generators ( ) const

Returns associated generators, note there is no ElectricLoadCenter:Generators object in OpenStudio.

static IddObjectType openstudio::model::ElectricLoadCenterDistribution::iddObjectType ( )
static
boost::optional<Inverter> openstudio::model::ElectricLoadCenterDistribution::inverter ( ) const
bool openstudio::model::ElectricLoadCenterDistribution::isElectricalBussTypeDefaulted ( ) const
bool openstudio::model::ElectricLoadCenterDistribution::isGeneratorOperationSchemeTypeDefaulted ( ) const
bool openstudio::model::ElectricLoadCenterDistribution::removeGenerator ( const Generator generator)
void openstudio::model::ElectricLoadCenterDistribution::resetGeneratorOperationSchemeType ( )
void openstudio::model::ElectricLoadCenterDistribution::resetGenerators ( )
void openstudio::model::ElectricLoadCenterDistribution::resetInverter ( )
bool openstudio::model::ElectricLoadCenterDistribution::setGeneratorOperationSchemeType ( const std::string &  generatorOperationSchemeType)
bool openstudio::model::ElectricLoadCenterDistribution::setInverter ( const Inverter inverter)

Friends And Related Function Documentation