src/model/CoilSystemIntegratedHeatPumpAirSource_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_COILSYSTEMINTEGRATEDHEATPUMPAIRSOURCE_IMPL_HPP | ||
| 7 | #define MODEL_COILSYSTEMINTEGRATEDHEATPUMPAIRSOURCE_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class StraightComponent; | ||
| 16 | class HVACComponent; | ||
| 17 | class Curve; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** CoilSystemIntegratedHeatPumpAirSource_Impl is a StraightComponent_Impl that is the implementation class for CoilSystemIntegratedHeatPumpAirSource.*/ | ||
| 22 | class MODEL_API CoilSystemIntegratedHeatPumpAirSource_Impl : public StraightComponent_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | CoilSystemIntegratedHeatPumpAirSource_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | CoilSystemIntegratedHeatPumpAirSource_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | CoilSystemIntegratedHeatPumpAirSource_Impl(const CoilSystemIntegratedHeatPumpAirSource_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 20 | virtual ~CoilSystemIntegratedHeatPumpAirSource_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 unsigned inletPort() const override; | ||
| 45 | |||
| 46 | virtual unsigned outletPort() const override; | ||
| 47 | |||
| 48 | // Override to disallow adding to node. It can only be placed inside another component | ||
| 49 | virtual bool addToNode(Node& node) override; | ||
| 50 | |||
| 51 | virtual std::vector<ModelObject> children() const override; | ||
| 52 | |||
| 53 | // Will clone all children coils | ||
| 54 | virtual ModelObject clone(Model model) const override; | ||
| 55 | |||
| 56 | virtual boost::optional<HVACComponent> containingHVACComponent() const override; | ||
| 57 | |||
| 58 | virtual ComponentType componentType() const override; | ||
| 59 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 60 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 61 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 62 | |||
| 63 | //@} | ||
| 64 | /** @name Getters */ | ||
| 65 | //@{ | ||
| 66 | |||
| 67 | StraightComponent spaceCoolingCoil() const; | ||
| 68 | |||
| 69 | StraightComponent spaceHeatingCoil() const; | ||
| 70 | |||
| 71 | HVACComponent dedicatedWaterHeatingCoil() const; | ||
| 72 | |||
| 73 | HVACComponent scwhCoil() const; | ||
| 74 | |||
| 75 | StraightComponent scdwhCoolingCoil() const; | ||
| 76 | |||
| 77 | HVACComponent scdwhWaterHeatingCoil() const; | ||
| 78 | |||
| 79 | StraightComponent shdwhHeatingCoil() const; | ||
| 80 | |||
| 81 | HVACComponent shdwhWaterHeatingCoil() const; | ||
| 82 | |||
| 83 | double indoorTemperatureLimitForSCWHMode() const; | ||
| 84 | |||
| 85 | double ambientTemperatureLimitForSCWHMode() const; | ||
| 86 | |||
| 87 | double indoorTemperatureAboveWhichWHHasHigherPriority() const; | ||
| 88 | |||
| 89 | double ambientTemperatureAboveWhichWHHasHigherPriority() const; | ||
| 90 | |||
| 91 | int flagtoIndicateLoadControlInSCWHMode() const; | ||
| 92 | |||
| 93 | int minimumSpeedLevelForSCWHMode() const; | ||
| 94 | |||
| 95 | double maximumWaterFlowVolumeBeforeSwitchingfromSCDWHtoSCWHMode() const; | ||
| 96 | |||
| 97 | int minimumSpeedLevelForSCDWHMode() const; | ||
| 98 | |||
| 99 | double maximumRunningTimeBeforeAllowingElectricResistanceHeatUseDuringSHDWHMode() const; | ||
| 100 | |||
| 101 | int minimumSpeedLevelForSHDWHMode() const; | ||
| 102 | |||
| 103 | //@} | ||
| 104 | /** @name Setters */ | ||
| 105 | //@{ | ||
| 106 | |||
| 107 | bool setSpaceCoolingCoil(const StraightComponent& spaceCoolingCoil); | ||
| 108 | |||
| 109 | bool setSpaceHeatingCoil(const StraightComponent& spaceHeatingCoil); | ||
| 110 | |||
| 111 | bool setDedicatedWaterHeatingCoil(const HVACComponent& dedicatedWaterHeatingCoil); | ||
| 112 | |||
| 113 | bool setSCWHCoil(const HVACComponent& scwhCoil); | ||
| 114 | |||
| 115 | bool setSCDWHCoolingCoil(const StraightComponent& scdwhCoolingCoil); | ||
| 116 | |||
| 117 | bool setSCDWHWaterHeatingCoil(const HVACComponent& scdwhWaterHeatingCoil); | ||
| 118 | |||
| 119 | bool setSHDWHHeatingCoil(const StraightComponent& shdwhHeatingCoil); | ||
| 120 | |||
| 121 | bool setSHDWHWaterHeatingCoil(const HVACComponent& shdwhWaterHeatingCoil); | ||
| 122 | |||
| 123 | bool setIndoorTemperatureLimitForSCWHMode(double indoorTemperatureLimitForSCWHMode); | ||
| 124 | |||
| 125 | bool setAmbientTemperatureLimitForSCWHMode(double ambientTemperatureLimitForSCWHMode); | ||
| 126 | |||
| 127 | bool setIndoorTemperatureAboveWhichWHHasHigherPriority(double indoorTemperatureAboveWhichWHHasHigherPriority); | ||
| 128 | |||
| 129 | bool setAmbientTemperatureAboveWhichWHHasHigherPriority(double ambientTemperatureAboveWhichWHHasHigherPriority); | ||
| 130 | |||
| 131 | bool setFlagtoIndicateLoadControlInSCWHMode(int flagtoIndicateLoadControlInSCWHMode); | ||
| 132 | |||
| 133 | bool setMinimumSpeedLevelForSCWHMode(int minimumSpeedLevelForSCWHMode); | ||
| 134 | |||
| 135 | bool setMaximumWaterFlowVolumeBeforeSwitchingfromSCDWHtoSCWHMode(double maximumWaterFlowVolumeBeforeSwitchingfromSCDWHtoSCWHMode); | ||
| 136 | |||
| 137 | bool setMinimumSpeedLevelForSCDWHMode(int minimumSpeedLevelForSCDWHMode); | ||
| 138 | |||
| 139 | bool setMaximumRunningTimeBeforeAllowingElectricResistanceHeatUseDuringSHDWHMode( | ||
| 140 | double maximumRunningTimeBeforeAllowingElectricResistanceHeatUseDuringSHDWHMode); | ||
| 141 | |||
| 142 | bool setMinimumSpeedLevelForSHDWHMode(int minimumSpeedLevelForSHDWHMode); | ||
| 143 | |||
| 144 | //@} | ||
| 145 | /** @name Other */ | ||
| 146 | //@{ | ||
| 147 | |||
| 148 | //@} | ||
| 149 | protected: | ||
| 150 | private: | ||
| 151 | − | REGISTER_LOGGER("openstudio.model.CoilSystemIntegratedHeatPumpAirSource"); | |
| 152 | |||
| 153 | boost::optional<StraightComponent> optionalSpaceCoolingCoil() const; | ||
| 154 | boost::optional<StraightComponent> optionalSpaceHeatingCoil() const; | ||
| 155 | boost::optional<HVACComponent> optionalDedicatedWaterHeatingCoil() const; | ||
| 156 | boost::optional<HVACComponent> optionalScwhCoil() const; | ||
| 157 | boost::optional<StraightComponent> optionalScdwhCoolingCoil() const; | ||
| 158 | boost::optional<HVACComponent> optionalScdwhWaterHeatingCoil() const; | ||
| 159 | boost::optional<StraightComponent> optionalShdwhHeatingCoil() const; | ||
| 160 | boost::optional<HVACComponent> optionalShdwhWaterHeatingCoil() const; | ||
| 161 | }; | ||
| 162 | |||
| 163 | } // namespace detail | ||
| 164 | |||
| 165 | } // namespace model | ||
| 166 | } // namespace openstudio | ||
| 167 | |||
| 168 | #endif // MODEL_COILSYSTEMINTEGRATEDHEATPUMPAIRSOURCE_IMPL_HPP | ||
| 169 |