src/model/PlantEquipmentOperationRangeBasedScheme_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_PLANTEQUIPMENTOPERATIONRANGEBASEDSCHEME_IMPL_HPP | ||
| 7 | #define MODEL_PLANTEQUIPMENTOPERATIONRANGEBASEDSCHEME_IMPL_HPP | ||
| 8 | |||
| 9 | #include "PlantEquipmentOperationScheme_Impl.hpp" | ||
| 10 | |||
| 11 | namespace openstudio { | ||
| 12 | namespace model { | ||
| 13 | |||
| 14 | class PlantLoop; | ||
| 15 | |||
| 16 | namespace detail { | ||
| 17 | |||
| 18 | class MODEL_API PlantEquipmentOperationRangeBasedScheme_Impl : public PlantEquipmentOperationScheme_Impl | ||
| 19 | { | ||
| 20 | public: | ||
| 21 | PlantEquipmentOperationRangeBasedScheme_Impl(IddObjectType type, Model_Impl* model); | ||
| 22 | |||
| 23 | PlantEquipmentOperationRangeBasedScheme_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 24 | |||
| 25 | PlantEquipmentOperationRangeBasedScheme_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | PlantEquipmentOperationRangeBasedScheme_Impl(const PlantEquipmentOperationRangeBasedScheme_Impl& other, Model_Impl* model, bool keepHandles); | ||
| 28 | |||
| 29 | 11 | virtual ~PlantEquipmentOperationRangeBasedScheme_Impl() override = default; | |
| 30 | |||
| 31 | bool addLoadRange(double upperLimit, const std::vector<HVACComponent>& equipment); | ||
| 32 | |||
| 33 | std::vector<HVACComponent> removeLoadRange(double upperLimit); | ||
| 34 | |||
| 35 | std::vector<double> loadRangeUpperLimits() const; | ||
| 36 | |||
| 37 | std::vector<HVACComponent> equipment(double upperLimit) const; | ||
| 38 | |||
| 39 | bool addEquipment(double upperLimit, const HVACComponent& equipment); | ||
| 40 | |||
| 41 | bool addEquipment(const HVACComponent& equipment); | ||
| 42 | |||
| 43 | bool replaceEquipment(double upperLimit, const std::vector<HVACComponent>& equipment); | ||
| 44 | |||
| 45 | bool replaceEquipment(const std::vector<HVACComponent>& equipment); | ||
| 46 | |||
| 47 | bool removeEquipment(double upperLimit, const HVACComponent& equipment); | ||
| 48 | |||
| 49 | bool removeEquipment(const HVACComponent& equipment); | ||
| 50 | |||
| 51 | void clearLoadRanges(); | ||
| 52 | |||
| 53 | virtual double maximumUpperLimit() const = 0; | ||
| 54 | |||
| 55 | virtual double minimumLowerLimit() const = 0; | ||
| 56 | |||
| 57 | ModelObject clone(Model model) const override; | ||
| 58 | |||
| 59 | private: | ||
| 60 | REGISTER_LOGGER("openstudio.model.PlantEquipmentOperationRangeBasedScheme"); | ||
| 61 | }; | ||
| 62 | |||
| 63 | } // namespace detail | ||
| 64 | |||
| 65 | } // namespace model | ||
| 66 | } // namespace openstudio | ||
| 67 | |||
| 68 | #endif // MODEL_PLANTEQUIPMENTOPERATIONRANGEBASEDSCHEME_IMPL_HPP | ||
| 69 |