src/model/ZoneHVACEquipmentList_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_ZONEHVACEQUIPMENTLIST_IMPL_HPP | ||
| 7 | #define MODEL_ZONEHVACEQUIPMENTLIST_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ModelObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class ThermalZone; | ||
| 16 | class ModelExtensibleGroup; | ||
| 17 | |||
| 18 | namespace detail { | ||
| 19 | |||
| 20 | /** ZoneHVACEquipmentList_Impl is a ModelObject_Impl that is the implementation class for ZoneHVACEquipmentList.*/ | ||
| 21 | class MODEL_API ZoneHVACEquipmentList_Impl : public ModelObject_Impl | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | ZoneHVACEquipmentList_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 25 | |||
| 26 | ZoneHVACEquipmentList_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 27 | |||
| 28 | ZoneHVACEquipmentList_Impl(const ZoneHVACEquipmentList_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 29 | |||
| 30 | bool addEquipment(const ModelObject& equipment); | ||
| 31 | |||
| 32 | bool removeEquipment(const ModelObject& equipment); | ||
| 33 | |||
| 34 | bool setCoolingPriority(const ModelObject& equipment, unsigned priority); | ||
| 35 | |||
| 36 | bool setHeatingPriority(const ModelObject& equipment, unsigned priority); | ||
| 37 | |||
| 38 | std::vector<ModelObject> equipment() const; | ||
| 39 | |||
| 40 | std::vector<ModelObject> equipmentInHeatingOrder() const; | ||
| 41 | |||
| 42 | std::vector<ModelObject> equipmentInCoolingOrder() const; | ||
| 43 | |||
| 44 | boost::optional<ModelExtensibleGroup> getGroupForModelObject(const ModelObject& modelObject) const; | ||
| 45 | |||
| 46 | 5680 | virtual ~ZoneHVACEquipmentList_Impl() override = default; | |
| 47 | |||
| 48 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 49 | |||
| 50 | virtual IddObjectType iddObjectType() const override; | ||
| 51 | |||
| 52 | virtual std::vector<ScheduleTypeKey> getScheduleTypeKeys(const Schedule& schedule) const override; | ||
| 53 | |||
| 54 | std::string loadDistributionScheme() const; | ||
| 55 | |||
| 56 | bool setLoadDistributionScheme(const std::string& scheme); | ||
| 57 | |||
| 58 | ThermalZone thermalZone() const; | ||
| 59 | |||
| 60 | unsigned heatingPriority(const ModelObject& equipment) const; | ||
| 61 | |||
| 62 | unsigned coolingPriority(const ModelObject& equipment) const; | ||
| 63 | |||
| 64 | boost::optional<Schedule> sequentialCoolingFractionSchedule(const ModelObject& equipment) const; | ||
| 65 | bool setSequentialCoolingFractionSchedule(const ModelObject& equipment, Schedule& schedule); | ||
| 66 | |||
| 67 | boost::optional<Schedule> sequentialHeatingFractionSchedule(const ModelObject& equipment) const; | ||
| 68 | bool setSequentialHeatingFractionSchedule(const ModelObject& equipment, Schedule& schedule); | ||
| 69 | |||
| 70 | // Deprecated | ||
| 71 | boost::optional<double> sequentialCoolingFraction(const ModelObject& equipment) const; | ||
| 72 | bool setSequentialCoolingFraction(const ModelObject& equipment, double fraction); | ||
| 73 | |||
| 74 | boost::optional<double> sequentialHeatingFraction(const ModelObject& equipment) const; | ||
| 75 | bool setSequentialHeatingFraction(const ModelObject& equipment, double fraction); | ||
| 76 | |||
| 77 | protected: | ||
| 78 | private: | ||
| 79 | − | REGISTER_LOGGER("openstudio.model.ZoneHVACEquipmentList"); | |
| 80 | }; | ||
| 81 | |||
| 82 | } // namespace detail | ||
| 83 | |||
| 84 | } // namespace model | ||
| 85 | } // namespace openstudio | ||
| 86 | |||
| 87 | #endif // MODEL_ZONEHVACEQUIPMENTLIST_IMPL_HPP | ||
| 88 |