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

#include "Generator.hpp"

Inheritance diagram for openstudio::model::Generator:

Public Member Functions

boost::optional< ScheduleavailabilitySchedule () const
boost::optional
< ElectricLoadCenterDistribution
electricLoadCenterDistribution () const
 Generator (IddObjectType type, const Model &model)
std::string generatorObjectType () const
boost::optional< double > ratedElectricPowerOutput () const
boost::optional< double > ratedThermalToElectricalPowerRatio () const
virtual ~Generator ()

Detailed Description

Generator is the base class for generators.

The ratedElectricPowerOutput, availabilitySchedule, and ratedThermalToElectricalPowerRatio fields are mapped to fields in the ElectricLoadCenter:Generators object in EnergyPlus. The ElectricLoadCenter:Generators object does not exist in OpenStudio.

Constructor & Destructor Documentation

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

Member Function Documentation

boost::optional<Schedule> openstudio::model::Generator::availabilitySchedule ( ) const
boost::optional<ElectricLoadCenterDistribution> openstudio::model::Generator::electricLoadCenterDistribution ( ) const
std::string openstudio::model::Generator::generatorObjectType ( ) const
boost::optional<double> openstudio::model::Generator::ratedElectricPowerOutput ( ) const
boost::optional<double> openstudio::model::Generator::ratedThermalToElectricalPowerRatio ( ) const