src/model/CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl.cpp
| 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 | #include "CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl.hpp" | ||
| 7 | #include "CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl.hpp" | ||
| 8 | |||
| 9 | #include "Model.hpp" | ||
| 10 | #include "Model_Impl.hpp" | ||
| 11 | #include "Schedule.hpp" | ||
| 12 | #include "Schedule_Impl.hpp" | ||
| 13 | #include "Connection.hpp" | ||
| 14 | #include "Connection_Impl.hpp" | ||
| 15 | #include "Curve.hpp" | ||
| 16 | #include "Curve_Impl.hpp" | ||
| 17 | #include "CurveQuadratic.hpp" | ||
| 18 | #include "CurveQuadratic_Impl.hpp" | ||
| 19 | #include "ScheduleTypeLimits.hpp" | ||
| 20 | #include "ScheduleTypeRegistry.hpp" | ||
| 21 | |||
| 22 | #include <utilities/idd/IddEnums.hxx> | ||
| 23 | #include <utilities/idd/OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControl_FieldEnums.hxx> | ||
| 24 | |||
| 25 | #include "../utilities/core/Assert.hpp" | ||
| 26 | #include "../utilities/data/DataEnums.hpp" | ||
| 27 | |||
| 28 | namespace openstudio { | ||
| 29 | namespace model { | ||
| 30 | |||
| 31 | namespace detail { | ||
| 32 | |||
| 33 | 33 | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl( | |
| 34 | 33 | const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 35 | 33 | : HVACComponent_Impl(idfObject, model, keepHandle) { | |
| 36 |
4/6✓ Branch 1 taken 33 times.
✓ Branch 4 taken 33 times.
✓ Branch 7 taken 33 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 33 times.
✗ Branch 13 not taken.
|
33 | OS_ASSERT(idfObject.iddObject().type() == CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::iddObjectType()); |
| 37 | 33 | } | |
| 38 | |||
| 39 | 1 | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl( | |
| 40 | 1 | const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 41 | 1 | : HVACComponent_Impl(other, model, keepHandle) { | |
| 42 |
4/6✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✗ Branch 10 not taken.
✓ Branch 11 taken 1 time.
✗ Branch 13 not taken.
|
1 | OS_ASSERT(other.iddObject().type() == CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::iddObjectType()); |
| 43 | 1 | } | |
| 44 | |||
| 45 | 8 | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl( | |
| 46 | 8 | const CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl& other, Model_Impl* model, bool keepHandle) | |
| 47 | 8 | : HVACComponent_Impl(other, model, keepHandle) {} | |
| 48 | |||
| 49 | ✗ | const std::vector<std::string>& CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::outputVariableNames() const { | |
| 50 | static const std::vector<std::string> result{"Heating Coil Heating Rate", "Heating Coil Heating Energy", "Heating Coil Runtime Fraction", | ||
| 51 | ✗ | "Heating Coil VRF Condensing Temperature", "Heating Coil VRF Subcooling Degrees"}; | |
| 52 | ✗ | return result; | |
| 53 | ✗ | } | |
| 54 | |||
| 55 | 111 | IddObjectType CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::iddObjectType() const { | |
| 56 | 111 | return CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::iddObjectType(); | |
| 57 | } | ||
| 58 | |||
| 59 | std::vector<ScheduleTypeKey> | ||
| 60 | ✗ | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 61 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 62 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 63 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()), e(fieldIndices.end()); | |
| 64 | ✗ | if (std::find(b, e, OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::AvailabilitySchedule) != e) { | |
| 65 | ✗ | result.push_back(ScheduleTypeKey("CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl", "Availability Schedule")); | |
| 66 | } | ||
| 67 | ✗ | return result; | |
| 68 | ✗ | } | |
| 69 | |||
| 70 | 6 | Schedule CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::availabilitySchedule() const { | |
| 71 |
1/1✓ Branch 1 taken 6 times.
|
6 | boost::optional<Schedule> value = optionalAvailabilitySchedule(); |
| 72 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
|
6 | if (!value) { |
| 73 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Availability Schedule attached."); | |
| 74 | } | ||
| 75 |
2/2✓ Branch 1 taken 6 times.
✓ Branch 4 taken 6 times.
|
12 | return value.get(); |
| 76 | 6 | } | |
| 77 | |||
| 78 | 10 | boost::optional<double> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::ratedTotalHeatingCapacity() const { | |
| 79 | 10 | return getDouble(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::RatedTotalHeatingCapacity, true); | |
| 80 | } | ||
| 81 | |||
| 82 | 7 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::isRatedTotalHeatingCapacityAutosized() const { | |
| 83 | 7 | bool result = false; | |
| 84 | boost::optional<std::string> value = | ||
| 85 |
1/1✓ Branch 1 taken 7 times.
|
7 | getString(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::RatedTotalHeatingCapacity, true); |
| 86 |
1/2✓ Branch 0 taken 7 times.
✗ Branch 1 not taken.
|
7 | if (value) { |
| 87 |
3/3✓ Branch 1 taken 7 times.
✓ Branch 4 taken 7 times.
✓ Branch 7 taken 7 times.
|
14 | result = openstudio::istringEqual(value.get(), "autosize"); |
| 88 | } | ||
| 89 | 7 | return result; | |
| 90 | 7 | } | |
| 91 | |||
| 92 | 3 | boost::optional<double> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::autosizedRatedTotalHeatingCapacity() { | |
| 93 |
4/4✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
✓ Branch 10 taken 3 times.
|
21 | return getAutosizedValue("Design Size Rated Total Heating Capacity", "W"); |
| 94 | } | ||
| 95 | |||
| 96 | 6 | double CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::indoorUnitReferenceSubcooling() const { | |
| 97 | boost::optional<double> value = | ||
| 98 |
1/1✓ Branch 1 taken 6 times.
|
6 | getDouble(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::IndoorUnitReferenceSubcooling, true); |
| 99 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 6 times.
✗ Branch 4 not taken.
|
6 | OS_ASSERT(value); |
| 100 |
1/1✓ Branch 1 taken 6 times.
|
12 | return value.get(); |
| 101 | } | ||
| 102 | |||
| 103 | 19 | Curve CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::indoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const { | |
| 104 |
1/1✓ Branch 1 taken 19 times.
|
19 | boost::optional<Curve> value = optionalIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve(); |
| 105 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 19 times.
|
19 | if (!value) { |
| 106 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Indoor Unit Condensing Temperature Function of Subcooling Curve attached."); | |
| 107 | } | ||
| 108 |
2/2✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
|
38 | return value.get(); |
| 109 | 19 | } | |
| 110 | |||
| 111 | 35 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::setAvailabilitySchedule(Schedule& schedule) { | |
| 112 |
3/3✓ Branch 1 taken 35 times.
✓ Branch 4 taken 35 times.
✓ Branch 7 taken 35 times.
|
140 | bool result = setSchedule(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::AvailabilitySchedule, |
| 113 | "CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl", "Availability Schedule", schedule); | ||
| 114 | 35 | return result; | |
| 115 | } | ||
| 116 | |||
| 117 | 4 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::setRatedTotalHeatingCapacity(double ratedTotalHeatingCapacity) { | |
| 118 | bool result = | ||
| 119 | 4 | setDouble(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::RatedTotalHeatingCapacity, ratedTotalHeatingCapacity); | |
| 120 | 4 | return result; | |
| 121 | } | ||
| 122 | |||
| 123 | 33 | void CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::autosizeRatedTotalHeatingCapacity() { | |
| 124 |
2/2✓ Branch 1 taken 33 times.
✓ Branch 4 taken 33 times.
|
66 | bool result = setString(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::RatedTotalHeatingCapacity, "autosize"); |
| 125 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 33 times.
|
33 | OS_ASSERT(result); |
| 126 | 33 | } | |
| 127 | |||
| 128 | 35 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::setIndoorUnitReferenceSubcooling(double indoorUnitReferenceSubcooling) { | |
| 129 | 35 | bool result = setDouble(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::IndoorUnitReferenceSubcooling, | |
| 130 | indoorUnitReferenceSubcooling); | ||
| 131 | 35 | return result; | |
| 132 | } | ||
| 133 | |||
| 134 | 35 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::setIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve( | |
| 135 | const Curve& curve) { | ||
| 136 | bool result = | ||
| 137 |
1/1✓ Branch 1 taken 35 times.
|
35 | setPointer(OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::IndoorUnitCondensingTemperatureFunctionofSubcoolingCurve, |
| 138 |
1/1✓ Branch 1 taken 35 times.
|
35 | curve.handle()); |
| 139 | 35 | return result; | |
| 140 | } | ||
| 141 | |||
| 142 | ✗ | void CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::autosize() { | |
| 143 | ✗ | autosizeRatedTotalHeatingCapacity(); | |
| 144 | ✗ | } | |
| 145 | |||
| 146 | ✗ | void CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::applySizingValues() { | |
| 147 | ✗ | boost::optional<double> val; | |
| 148 | ✗ | val = autosizedRatedTotalHeatingCapacity(); | |
| 149 | ✗ | if (val) { | |
| 150 | ✗ | setRatedTotalHeatingCapacity(val.get()); | |
| 151 | } | ||
| 152 | ✗ | } | |
| 153 | |||
| 154 | 6 | boost::optional<Schedule> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::optionalAvailabilitySchedule() const { | |
| 155 |
1/1✓ Branch 1 taken 6 times.
|
12 | return getObject<ModelObject>().getModelObjectTarget<Schedule>( |
| 156 |
1/1✓ Branch 1 taken 6 times.
|
12 | OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::AvailabilitySchedule); |
| 157 | } | ||
| 158 | |||
| 159 | boost::optional<Curve> | ||
| 160 | 19 | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::optionalIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const { | |
| 161 |
1/1✓ Branch 1 taken 19 times.
|
38 | return getObject<ModelObject>().getModelObjectTarget<Curve>( |
| 162 |
1/1✓ Branch 1 taken 19 times.
|
38 | OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControlFields::IndoorUnitCondensingTemperatureFunctionofSubcoolingCurve); |
| 163 | } | ||
| 164 | |||
| 165 | 2 | ModelObject CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::clone(Model model) const { | |
| 166 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | return HVACComponent_Impl::clone(model); |
| 167 | } | ||
| 168 | |||
| 169 | 13 | std::vector<ModelObject> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::children() const { | |
| 170 | 13 | std::vector<ModelObject> result; | |
| 171 | |||
| 172 |
2/2✓ Branch 1 taken 13 times.
✓ Branch 4 taken 13 times.
|
13 | result.push_back(indoorUnitCondensingTemperatureFunctionofSubcoolingCurve()); |
| 173 | |||
| 174 | 13 | return result; | |
| 175 | ✗ | } | |
| 176 | |||
| 177 | ✗ | boost::optional<double> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::autosizedRatedAirFlowRate() const { | |
| 178 | ✗ | return getAutosizedValue("Design Size Rated Air Flow Rate", "m3/s"); | |
| 179 | } | ||
| 180 | |||
| 181 | ✗ | ComponentType CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::componentType() const { | |
| 182 | ✗ | return ComponentType::Heating; | |
| 183 | } | ||
| 184 | |||
| 185 | ✗ | std::vector<FuelType> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::coolingFuelTypes() const { | |
| 186 | ✗ | return {}; | |
| 187 | } | ||
| 188 | |||
| 189 | ✗ | std::vector<FuelType> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::heatingFuelTypes() const { | |
| 190 | ✗ | return {FuelType::Electricity}; | |
| 191 | } | ||
| 192 | |||
| 193 | ✗ | std::vector<AppGFuelType> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl::appGHeatingFuelTypes() const { | |
| 194 | ✗ | return {AppGFuelType::HeatPump}; | |
| 195 | } | ||
| 196 | |||
| 197 | } // namespace detail | ||
| 198 | |||
| 199 | 32 | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl(const Model& model) | |
| 200 | 32 | : HVACComponent(CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::iddObjectType(), model) { | |
| 201 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 32 times.
✗ Branch 5 not taken.
|
32 | OS_ASSERT(getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()); |
| 202 | |||
| 203 | 32 | bool ok = true; | |
| 204 |
1/1✓ Branch 1 taken 32 times.
|
32 | Schedule schedule = model.alwaysOnDiscreteSchedule(); |
| 205 |
1/1✓ Branch 1 taken 32 times.
|
32 | ok = setAvailabilitySchedule(schedule); |
| 206 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 32 times.
✗ Branch 3 not taken.
|
32 | OS_ASSERT(ok); |
| 207 |
1/1✓ Branch 1 taken 32 times.
|
32 | autosizeRatedTotalHeatingCapacity(); |
| 208 |
1/1✓ Branch 1 taken 32 times.
|
32 | ok = setIndoorUnitReferenceSubcooling(5.0); |
| 209 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 32 times.
✗ Branch 3 not taken.
|
32 | OS_ASSERT(ok); |
| 210 |
1/1✓ Branch 1 taken 32 times.
|
32 | CurveQuadratic indoorUnitCondensingTemperatureFunctionofSubcoolingCurve(model); |
| 211 |
2/2✓ Branch 1 taken 32 times.
✓ Branch 4 taken 32 times.
|
32 | indoorUnitCondensingTemperatureFunctionofSubcoolingCurve.setName("VRFIUCondTempCurve"); |
| 212 |
1/1✓ Branch 1 taken 32 times.
|
32 | indoorUnitCondensingTemperatureFunctionofSubcoolingCurve.setCoefficient1Constant(-1.85); |
| 213 |
1/1✓ Branch 1 taken 32 times.
|
32 | indoorUnitCondensingTemperatureFunctionofSubcoolingCurve.setCoefficient2x(0.411); |
| 214 |
1/1✓ Branch 1 taken 32 times.
|
32 | indoorUnitCondensingTemperatureFunctionofSubcoolingCurve.setCoefficient3xPOW2(0.0196); |
| 215 |
1/1✓ Branch 1 taken 32 times.
|
32 | indoorUnitCondensingTemperatureFunctionofSubcoolingCurve.setMinimumValueofx(0); |
| 216 |
1/1✓ Branch 1 taken 32 times.
|
32 | indoorUnitCondensingTemperatureFunctionofSubcoolingCurve.setMaximumValueofx(20); |
| 217 |
1/1✓ Branch 1 taken 32 times.
|
32 | ok = setIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve(indoorUnitCondensingTemperatureFunctionofSubcoolingCurve); |
| 218 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 32 times.
✗ Branch 3 not taken.
|
32 | OS_ASSERT(ok); |
| 219 | 32 | } | |
| 220 | |||
| 221 | 7906 | IddObjectType CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::iddObjectType() { | |
| 222 |
1/1✓ Branch 1 taken 7906 times.
|
7906 | return IddObjectType(IddObjectType::OS_Coil_Heating_DX_VariableRefrigerantFlow_FluidTemperatureControl); |
| 223 | } | ||
| 224 | |||
| 225 | 6 | Schedule CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::availabilitySchedule() const { | |
| 226 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->availabilitySchedule(); |
| 227 | } | ||
| 228 | |||
| 229 | 10 | boost::optional<double> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::ratedTotalHeatingCapacity() const { | |
| 230 |
1/1✓ Branch 3 taken 10 times.
|
10 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->ratedTotalHeatingCapacity(); |
| 231 | } | ||
| 232 | |||
| 233 | 7 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::isRatedTotalHeatingCapacityAutosized() const { | |
| 234 |
1/1✓ Branch 3 taken 7 times.
|
7 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->isRatedTotalHeatingCapacityAutosized(); |
| 235 | } | ||
| 236 | |||
| 237 | 3 | boost::optional<double> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::autosizedRatedTotalHeatingCapacity() { | |
| 238 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->autosizedRatedTotalHeatingCapacity(); |
| 239 | } | ||
| 240 | |||
| 241 | 6 | double CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::indoorUnitReferenceSubcooling() const { | |
| 242 |
1/1✓ Branch 3 taken 6 times.
|
6 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->indoorUnitReferenceSubcooling(); |
| 243 | } | ||
| 244 | |||
| 245 | 6 | Curve CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::indoorUnitCondensingTemperatureFunctionofSubcoolingCurve() const { | |
| 246 | 12 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>() | |
| 247 |
1/1✓ Branch 2 taken 6 times.
|
12 | ->indoorUnitCondensingTemperatureFunctionofSubcoolingCurve(); |
| 248 | } | ||
| 249 | |||
| 250 | 35 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::setAvailabilitySchedule(Schedule& schedule) { | |
| 251 |
1/1✓ Branch 3 taken 35 times.
|
35 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->setAvailabilitySchedule(schedule); |
| 252 | } | ||
| 253 | |||
| 254 | 4 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::setRatedTotalHeatingCapacity(double ratedTotalHeatingCapacity) { | |
| 255 |
1/1✓ Branch 3 taken 4 times.
|
8 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->setRatedTotalHeatingCapacity( |
| 256 | 8 | ratedTotalHeatingCapacity); | |
| 257 | } | ||
| 258 | |||
| 259 | 33 | void CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::autosizeRatedTotalHeatingCapacity() { | |
| 260 |
1/1✓ Branch 3 taken 33 times.
|
33 | getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->autosizeRatedTotalHeatingCapacity(); |
| 261 | 33 | } | |
| 262 | |||
| 263 | 35 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::setIndoorUnitReferenceSubcooling(double indoorUnitReferenceSubcooling) { | |
| 264 |
1/1✓ Branch 3 taken 35 times.
|
70 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->setIndoorUnitReferenceSubcooling( |
| 265 | 70 | indoorUnitReferenceSubcooling); | |
| 266 | } | ||
| 267 | |||
| 268 | 35 | bool CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::setIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve(const Curve& curve) { | |
| 269 | 70 | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>() | |
| 270 |
1/1✓ Branch 2 taken 35 times.
|
70 | ->setIndoorUnitCondensingTemperatureFunctionofSubcoolingCurve(curve); |
| 271 | } | ||
| 272 | |||
| 273 | ✗ | boost::optional<double> CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::autosizedRatedAirFlowRate() const { | |
| 274 | ✗ | return getImpl<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl>()->autosizedRatedAirFlowRate(); | |
| 275 | } | ||
| 276 | |||
| 277 | /// @cond | ||
| 278 | 6 | CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl( | |
| 279 | 6 | std::shared_ptr<detail::CoilHeatingDXVariableRefrigerantFlowFluidTemperatureControl_Impl> impl) | |
| 280 |
1/1✓ Branch 3 taken 6 times.
|
6 | : HVACComponent(std::move(impl)) {} |
| 281 | /// @endcond | ||
| 282 | |||
| 283 | } // namespace model | ||
| 284 | } // namespace openstudio | ||
| 285 |