src/model/CoilHeatingFourPipeBeam_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_COILHEATINGFOURPIPEBEAM_IMPL_HPP | ||
| 7 | #define MODEL_COILHEATINGFOURPIPEBEAM_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "StraightComponent_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class Node; | ||
| 16 | class Curve; | ||
| 17 | class AirTerminalSingleDuctConstantVolumeFourPipeBeam; | ||
| 18 | |||
| 19 | namespace detail { | ||
| 20 | |||
| 21 | /** CoilHeatingFourPipeBeam_Impl is a StraightComponent_Impl that is the implementation class for CoilHeatingFourPipeBeam.*/ | ||
| 22 | class MODEL_API CoilHeatingFourPipeBeam_Impl : public StraightComponent_Impl | ||
| 23 | { | ||
| 24 | public: | ||
| 25 | /** @name Constructors and Destructors */ | ||
| 26 | //@{ | ||
| 27 | |||
| 28 | CoilHeatingFourPipeBeam_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | CoilHeatingFourPipeBeam_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | CoilHeatingFourPipeBeam_Impl(const CoilHeatingFourPipeBeam_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 33 | |||
| 34 | 15 | virtual ~CoilHeatingFourPipeBeam_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 | virtual boost::optional<HVACComponent> containingHVACComponent() const override; | ||
| 49 | |||
| 50 | virtual boost::optional<StraightComponent> containingStraightComponent() const override; | ||
| 51 | |||
| 52 | virtual bool addToNode(Node& node) override; | ||
| 53 | |||
| 54 | virtual ComponentType componentType() const override; | ||
| 55 | virtual std::vector<FuelType> coolingFuelTypes() const override; | ||
| 56 | virtual std::vector<FuelType> heatingFuelTypes() const override; | ||
| 57 | virtual std::vector<AppGFuelType> appGHeatingFuelTypes() const override; | ||
| 58 | |||
| 59 | //@} | ||
| 60 | /** @name Getters */ | ||
| 61 | //@{ | ||
| 62 | |||
| 63 | boost::optional<Node> hotWaterInletNode() const; | ||
| 64 | |||
| 65 | boost::optional<Node> hotWaterOutletNode() const; | ||
| 66 | |||
| 67 | double beamRatedHeatingCapacityperBeamLength() const; | ||
| 68 | bool isBeamRatedHeatingCapacityperBeamLengthDefaulted() const; | ||
| 69 | |||
| 70 | double beamRatedHeatingRoomAirHotWaterTemperatureDifference() const; | ||
| 71 | bool isBeamRatedHeatingRoomAirHotWaterTemperatureDifferenceDefaulted() const; | ||
| 72 | |||
| 73 | double beamRatedHotWaterVolumeFlowRateperBeamLength() const; | ||
| 74 | bool isBeamRatedHotWaterVolumeFlowRateperBeamLengthDefaulted() const; | ||
| 75 | |||
| 76 | Curve beamHeatingCapacityTemperatureDifferenceModificationFactorCurve() const; | ||
| 77 | |||
| 78 | Curve beamHeatingCapacityAirFlowModificationFactorCurve() const; | ||
| 79 | |||
| 80 | Curve beamHeatingCapacityHotWaterFlowModificationFactorCurve() const; | ||
| 81 | |||
| 82 | //@} | ||
| 83 | /** @name Setters */ | ||
| 84 | //@{ | ||
| 85 | |||
| 86 | bool setBeamRatedHeatingCapacityperBeamLength(double beamRatedHeatingCapacityperBeamLength); | ||
| 87 | void resetBeamRatedHeatingCapacityperBeamLength(); | ||
| 88 | |||
| 89 | bool setBeamRatedHeatingRoomAirHotWaterTemperatureDifference(double beamRatedHeatingRoomAirHotWaterTemperatureDifference); | ||
| 90 | void resetBeamRatedHeatingRoomAirHotWaterTemperatureDifference(); | ||
| 91 | |||
| 92 | bool setBeamRatedHotWaterVolumeFlowRateperBeamLength(double beamRatedHotWaterVolumeFlowRateperBeamLength); | ||
| 93 | void resetBeamRatedHotWaterVolumeFlowRateperBeamLength(); | ||
| 94 | |||
| 95 | bool setBeamHeatingCapacityTemperatureDifferenceModificationFactorCurve(const Curve& curve); | ||
| 96 | // void resetBeamHeatingCapacityTemperatureDifferenceModificationFactorCurve(); | ||
| 97 | |||
| 98 | bool setBeamHeatingCapacityAirFlowModificationFactorCurve(const Curve& curve); | ||
| 99 | // void resetBeamHeatingCapacityAirFlowModificationFactorCurve(); | ||
| 100 | |||
| 101 | bool setBeamHeatingCapacityHotWaterFlowModificationFactorCurve(const Curve& curve); | ||
| 102 | // void resetBeamHeatingCapacityHotWaterFlowModificationFactorCurve(); | ||
| 103 | |||
| 104 | //@} | ||
| 105 | /** @name Other */ | ||
| 106 | //@{ | ||
| 107 | |||
| 108 | /* Convenience function to return the parent AirTerminal:SingleDuct:ConstantVolume:FourPipeBeam */ | ||
| 109 | boost::optional<AirTerminalSingleDuctConstantVolumeFourPipeBeam> airTerminalSingleDuctConstantVolumeFourPipeBeam() const; | ||
| 110 | |||
| 111 | //@} | ||
| 112 | protected: | ||
| 113 | private: | ||
| 114 | − | REGISTER_LOGGER("openstudio.model.CoilHeatingFourPipeBeam"); | |
| 115 | }; | ||
| 116 | |||
| 117 | } // namespace detail | ||
| 118 | |||
| 119 | } // namespace model | ||
| 120 | } // namespace openstudio | ||
| 121 | |||
| 122 | #endif // MODEL_COILHEATINGFOURPIPEBEAM_IMPL_HPP | ||
| 123 |