src/model/ElectricEquipmentITEAirCooledDefinition_Impl.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_ELECTRICEQUIPMENTITEAIRCOOLEDDEFINITION_IMPL_HPP | ||
| 7 | #define MODEL_ELECTRICEQUIPMENTITEAIRCOOLEDDEFINITION_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "SpaceLoadDefinition_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Curve; | ||
| 16 | class Connection; | ||
| 17 | class Schedule; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** ElectricEquipmentITEAirCooledDefinition_Impl is a SpaceLoadDefinition_Impl that is the implementation class for ElectricEquipmentITEAirCooledDefinition.*/ | ||
| 22 | class MODEL_API ElectricEquipmentITEAirCooledDefinition_Impl : public SpaceLoadDefinition_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | ElectricEquipmentITEAirCooledDefinition_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | ElectricEquipmentITEAirCooledDefinition_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | ElectricEquipmentITEAirCooledDefinition_Impl(const ElectricEquipmentITEAirCooledDefinition_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 73 | virtual ~ElectricEquipmentITEAirCooledDefinition_Impl() override = default; | |
| 35 | |||
| 36 | //@} | ||
| 37 | /** @name Virtual Methods */ | ||
| 38 | //@{ | ||
| 39 | |||
| 40 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 41 | |||
| 42 | virtual IddObjectType iddObjectType() const override; | ||
| 43 | |||
| 44 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 45 | |||
| 46 | //@} | ||
| 47 | /** @name Getters */ | ||
| 48 | //@{ | ||
| 49 | |||
| 50 | std::string airFlowCalculationMethod() const; | ||
| 51 | |||
| 52 | std::string designPowerInputCalculationMethod() const; | ||
| 53 | |||
| 54 | boost::optional<double> designLevel() const; | ||
| 55 | |||
| 56 | boost::optional<double> wattsperSpaceFloorArea() const; | ||
| 57 | |||
| 58 | Curve cPUPowerInputFunctionofLoadingandAirTemperatureCurve() const; | ||
| 59 | boost::optional<Curve> optionalCPUPowerInputFunctionofLoadingandAirTemperatureCurve() const; | ||
| 60 | |||
| 61 | double designFanPowerInputFraction() const; | ||
| 62 | |||
| 63 | bool isDesignFanPowerInputFractionDefaulted() const; | ||
| 64 | |||
| 65 | boost::optional<double> designFanAirFlowRateperPowerInput() const; | ||
| 66 | Curve airFlowFunctionofLoadingandAirTemperatureCurve() const; | ||
| 67 | boost::optional<Curve> optionalAirFlowFunctionofLoadingandAirTemperatureCurve() const; | ||
| 68 | |||
| 69 | Curve fanPowerInputFunctionofFlowCurve() const; | ||
| 70 | boost::optional<Curve> optionalFanPowerInputFunctionofFlowCurve() const; | ||
| 71 | |||
| 72 | double designEnteringAirTemperature() const; | ||
| 73 | |||
| 74 | bool isDesignEnteringAirTemperatureDefaulted() const; | ||
| 75 | |||
| 76 | std::string environmentalClass() const; | ||
| 77 | |||
| 78 | std::string airInletConnectionType() const; | ||
| 79 | |||
| 80 | double designRecirculationFraction() const; | ||
| 81 | |||
| 82 | bool isDesignRecirculationFractionDefaulted() const; | ||
| 83 | |||
| 84 | boost::optional<Curve> recirculationFunctionofLoadingandSupplyTemperatureCurve() const; | ||
| 85 | |||
| 86 | double designElectricPowerSupplyEfficiency() const; | ||
| 87 | |||
| 88 | bool isDesignElectricPowerSupplyEfficiencyDefaulted() const; | ||
| 89 | |||
| 90 | boost::optional<Curve> electricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve() const; | ||
| 91 | |||
| 92 | double fractionofElectricPowerSupplyLossestoZone() const; | ||
| 93 | |||
| 94 | bool isFractionofElectricPowerSupplyLossestoZoneDefaulted() const; | ||
| 95 | |||
| 96 | double supplyTemperatureDifference() const; | ||
| 97 | |||
| 98 | bool isSupplyTemperatureDifferenceDefaulted() const; | ||
| 99 | |||
| 100 | boost::optional<Schedule> supplyTemperatureDifferenceSchedule() const; | ||
| 101 | |||
| 102 | double returnTemperatureDifference() const; | ||
| 103 | |||
| 104 | bool isReturnTemperatureDifferenceDefaulted() const; | ||
| 105 | |||
| 106 | boost::optional<Schedule> returnTemperatureDifferenceSchedule() const; | ||
| 107 | |||
| 108 | //@} | ||
| 109 | /** @name Setters */ | ||
| 110 | //@{ | ||
| 111 | |||
| 112 | bool setAirFlowCalculationMethod(const std::string& airFlowCalculationMethod); | ||
| 113 | |||
| 114 | bool setDesignPowerInputCalculationMethod(const std::string& designPowerInputCalculationMethod, double floorArea); | ||
| 115 | |||
| 116 | bool setDesignLevel(boost::optional<double> designLevel); | ||
| 117 | |||
| 118 | bool setWattsperSpaceFloorArea(boost::optional<double> wattsperSpaceFloorArea); | ||
| 119 | |||
| 120 | bool setCPUPowerInputFunctionofLoadingandAirTemperatureCurve(const Curve& curve); | ||
| 121 | |||
| 122 | bool setDesignFanPowerInputFraction(double designFanPowerInputFraction); | ||
| 123 | |||
| 124 | void resetDesignFanPowerInputFraction(); | ||
| 125 | |||
| 126 | bool setDesignFanAirFlowRateperPowerInput(double designFanAirFlowRateperPowerInput); | ||
| 127 | |||
| 128 | bool setAirFlowFunctionofLoadingandAirTemperatureCurve(const Curve& curve); | ||
| 129 | |||
| 130 | bool setFanPowerInputFunctionofFlowCurve(const Curve& curve); | ||
| 131 | |||
| 132 | void setDesignEnteringAirTemperature(double designEnteringAirTemperature); | ||
| 133 | |||
| 134 | void resetDesignEnteringAirTemperature(); | ||
| 135 | |||
| 136 | bool setEnvironmentalClass(const std::string& environmentalClass); | ||
| 137 | |||
| 138 | bool setAirInletConnectionType(const std::string& airInletConnectionType); | ||
| 139 | |||
| 140 | bool setDesignRecirculationFraction(double designRecirculationFraction); | ||
| 141 | |||
| 142 | void resetDesignRecirculationFraction(); | ||
| 143 | |||
| 144 | bool setRecirculationFunctionofLoadingandSupplyTemperatureCurve(const Curve& curve); | ||
| 145 | |||
| 146 | void resetRecirculationFunctionofLoadingandSupplyTemperatureCurve(); | ||
| 147 | |||
| 148 | bool setDesignElectricPowerSupplyEfficiency(double designElectricPowerSupplyEfficiency); | ||
| 149 | |||
| 150 | void resetDesignElectricPowerSupplyEfficiency(); | ||
| 151 | |||
| 152 | bool setElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve(const Curve& curve); | ||
| 153 | |||
| 154 | void resetElectricPowerSupplyEfficiencyFunctionofPartLoadRatioCurve(); | ||
| 155 | |||
| 156 | bool setFractionofElectricPowerSupplyLossestoZone(double fractionofElectricPowerSupplyLossestoZone); | ||
| 157 | |||
| 158 | void resetFractionofElectricPowerSupplyLossestoZone(); | ||
| 159 | |||
| 160 | bool setSupplyTemperatureDifference(double supplyTemperatureDifference); | ||
| 161 | |||
| 162 | void resetSupplyTemperatureDifference(); | ||
| 163 | |||
| 164 | // Note Schedules are passed by reference, not const reference. | ||
| 165 | bool setSupplyTemperatureDifferenceSchedule(Schedule& schedule); | ||
| 166 | |||
| 167 | void resetSupplyTemperatureDifferenceSchedule(); | ||
| 168 | |||
| 169 | bool setReturnTemperatureDifference(double returnTemperatureDifference); | ||
| 170 | |||
| 171 | void resetReturnTemperatureDifference(); | ||
| 172 | |||
| 173 | // Note Schedules are passed by reference, not const reference. | ||
| 174 | bool setReturnTemperatureDifferenceSchedule(Schedule& schedule); | ||
| 175 | |||
| 176 | void resetReturnTemperatureDifferenceSchedule(); | ||
| 177 | |||
| 178 | //@} | ||
| 179 | /** @name Other */ | ||
| 180 | //@{ | ||
| 181 | |||
| 182 | double getDesignLevel(double floorArea) const; | ||
| 183 | |||
| 184 | double getPowerPerFloorArea(double floorArea) const; | ||
| 185 | |||
| 186 | //@} | ||
| 187 | protected: | ||
| 188 | private: | ||
| 189 | − | REGISTER_LOGGER("openstudio.model.ElectricEquipmentITEAirCooledDefinition"); | |
| 190 | }; | ||
| 191 | |||
| 192 | } // namespace detail | ||
| 193 | |||
| 194 | } // namespace model | ||
| 195 | } // namespace openstudio | ||
| 196 | |||
| 197 | #endif // MODEL_ELECTRICEQUIPMENTITEAIRCOOLEDDEFINITION_IMPL_HPP | ||
| 198 |