src/model/RefrigerationWalkIn.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 "RefrigerationWalkIn.hpp" | ||
| 7 | #include "RefrigerationWalkIn_Impl.hpp" | ||
| 8 | #include "RefrigerationWalkInZoneBoundary.hpp" | ||
| 9 | #include "RefrigerationWalkInZoneBoundary_Impl.hpp" | ||
| 10 | |||
| 11 | #include "RefrigerationSystem_Impl.hpp" | ||
| 12 | #include "RefrigerationSecondarySystem_Impl.hpp" | ||
| 13 | #include "RefrigerationCompressorRack_Impl.hpp" | ||
| 14 | #include "Schedule.hpp" | ||
| 15 | #include "Schedule_Impl.hpp" | ||
| 16 | #include "ScheduleTypeLimits.hpp" | ||
| 17 | #include "ScheduleTypeRegistry.hpp" | ||
| 18 | #include "Model.hpp" | ||
| 19 | #include "Model_Impl.hpp" | ||
| 20 | #include "RefrigerationDefrostCycleParameters.hpp" | ||
| 21 | #include "RefrigerationDefrostCycleParameters_Impl.hpp" | ||
| 22 | |||
| 23 | #include "../utilities/idf/WorkspaceExtensibleGroup.hpp" | ||
| 24 | #include "../utilities/idf/WorkspaceObject.hpp" | ||
| 25 | |||
| 26 | #include <utilities/idd/IddFactory.hxx> | ||
| 27 | |||
| 28 | #include <utilities/idd/OS_Refrigeration_WalkIn_FieldEnums.hxx> | ||
| 29 | #include <utilities/idd/IddEnums.hxx> | ||
| 30 | |||
| 31 | #include "../utilities/units/Unit.hpp" | ||
| 32 | #include "../utilities/time/Time.hpp" | ||
| 33 | |||
| 34 | #include "../utilities/core/Assert.hpp" | ||
| 35 | |||
| 36 | namespace openstudio { | ||
| 37 | namespace model { | ||
| 38 | |||
| 39 | namespace detail { | ||
| 40 | |||
| 41 | 61 | RefrigerationWalkIn_Impl::RefrigerationWalkIn_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 42 | 61 | : ModelObject_Impl(idfObject, model, keepHandle) { | |
| 43 |
4/6✓ Branch 1 taken 61 times.
✓ Branch 4 taken 61 times.
✓ Branch 7 taken 61 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 61 times.
✗ Branch 13 not taken.
|
61 | OS_ASSERT(idfObject.iddObject().type() == RefrigerationWalkIn::iddObjectType()); |
| 44 | 61 | } | |
| 45 | |||
| 46 | ✗ | RefrigerationWalkIn_Impl::RefrigerationWalkIn_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 47 | ✗ | : ModelObject_Impl(other, model, keepHandle) { | |
| 48 | ✗ | OS_ASSERT(other.iddObject().type() == RefrigerationWalkIn::iddObjectType()); | |
| 49 | ✗ | } | |
| 50 | |||
| 51 | 30 | RefrigerationWalkIn_Impl::RefrigerationWalkIn_Impl(const RefrigerationWalkIn_Impl& other, Model_Impl* model, bool keepHandle) | |
| 52 | 30 | : ModelObject_Impl(other, model, keepHandle) {} | |
| 53 | |||
| 54 | ✗ | const std::vector<std::string>& RefrigerationWalkIn_Impl::outputVariableNames() const { | |
| 55 | static const std::vector<std::string> result{ | ||
| 56 | "Refrigeration Walk In Evaporator Total Cooling Rate", "Refrigeration Walk In Evaporator Total Cooling Energy", | ||
| 57 | "Refrigeration Walk In Evaporator Sensible Cooling Rate", "Refrigeration Walk In Evaporator Sensible Cooling Energy", | ||
| 58 | "Refrigeration Walk In Evaporator Latent Cooling Rate", "Refrigeration Walk In Evaporator Latent Cooling Energy", | ||
| 59 | "Refrigeration Walk In Ancillary Electricity Rate", "Refrigeration Walk In Ancillary Electricity Energy", | ||
| 60 | "Refrigeration Walk In Fan Electricity Rate", "Refrigeration Walk In Fan Electricity Energy", | ||
| 61 | "Refrigeration Walk In Lighting Electricity Rate", "Refrigeration Walk In Lighting Electricity Energy", | ||
| 62 | "Refrigeration Walk In Heater Electricity Rate", "Refrigeration Walk In Heater Electricity Energy", | ||
| 63 | |||
| 64 | // TODO: Implement checks | ||
| 65 | // Report only for WalkIns using electric defrost | ||
| 66 | "Refrigeration Walk In Defrost Electricity Rate", "Refrigeration Walk In Defrost Electricity Energy" | ||
| 67 | |||
| 68 | // Reported in ThermalZone | ||
| 69 | // Report for each Zone exchanging energy with the WalkIn | ||
| 70 | //"Refrigeration Walk In Zone Sensible Cooling Rate", | ||
| 71 | //"Refrigeration Walk In Zone Sensible Cooling Energy", | ||
| 72 | //"Refrigeration Walk In Zone Sensible Heating Rate", | ||
| 73 | //"Refrigeration Walk In Zone Sensible Heating Energy", | ||
| 74 | //"Refrigeration Walk In Zone Latent Rate", | ||
| 75 | //"Refrigeration Walk In Zone Latent Energy" | ||
| 76 | |||
| 77 | ✗ | }; | |
| 78 | ✗ | return result; | |
| 79 | ✗ | } | |
| 80 | |||
| 81 | ✗ | IddObjectType RefrigerationWalkIn_Impl::iddObjectType() const { | |
| 82 | ✗ | return RefrigerationWalkIn::iddObjectType(); | |
| 83 | } | ||
| 84 | |||
| 85 | ✗ | std::vector<ScheduleTypeKey> RefrigerationWalkIn_Impl::getScheduleTypeKeys(const Schedule& schedule) const { | |
| 86 | ✗ | std::vector<ScheduleTypeKey> result; | |
| 87 | ✗ | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); | |
| 88 | ✗ | UnsignedVector::const_iterator b(fieldIndices.begin()); | |
| 89 | ✗ | UnsignedVector::const_iterator e(fieldIndices.end()); | |
| 90 | ✗ | if (std::find(b, e, OS_Refrigeration_WalkInFields::AvailabilityScheduleName) != e) { | |
| 91 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationWalkIn", "Availability")); | |
| 92 | } | ||
| 93 | ✗ | if (std::find(b, e, OS_Refrigeration_WalkInFields::HeatingPowerScheduleName) != e) { | |
| 94 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationWalkIn", "Heating Power")); | |
| 95 | } | ||
| 96 | ✗ | if (std::find(b, e, OS_Refrigeration_WalkInFields::LightingScheduleName) != e) { | |
| 97 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationWalkIn", "Lighting")); | |
| 98 | } | ||
| 99 | ✗ | if (std::find(b, e, OS_Refrigeration_WalkInFields::DefrostScheduleName) != e) { | |
| 100 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationWalkIn", "Defrost")); | |
| 101 | } | ||
| 102 | ✗ | if (std::find(b, e, OS_Refrigeration_WalkInFields::DefrostDripDownScheduleName) != e) { | |
| 103 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationWalkIn", "Defrost Drip-Down")); | |
| 104 | } | ||
| 105 | ✗ | if (std::find(b, e, OS_Refrigeration_WalkInFields::RestockingScheduleName) != e) { | |
| 106 | ✗ | result.push_back(ScheduleTypeKey("RefrigerationWalkIn", "Restocking")); | |
| 107 | } | ||
| 108 | ✗ | return result; | |
| 109 | ✗ | } | |
| 110 | |||
| 111 | 6 | std::vector<IdfObject> RefrigerationWalkIn_Impl::remove() { | |
| 112 | 6 | std::vector<IdfObject> result; | |
| 113 | |||
| 114 |
1/1✓ Branch 1 taken 6 times.
|
6 | this->removeFromSystem(); |
| 115 | |||
| 116 |
1/1✓ Branch 1 taken 6 times.
|
6 | std::shared_ptr<Model_Impl> t_model = model().getImpl<Model_Impl>(); |
| 117 | // t_model->blockSignals(true); | ||
| 118 | |||
| 119 |
3/3✓ Branch 1 taken 6 times.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 4 times.
|
12 | if (boost::optional<RefrigerationDefrostCycleParameters> walkinDefrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 120 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | std::vector<IdfObject> removedDefrostCycleParameters = walkinDefrostCycleParameters->remove(); |
| 121 |
1/1✓ Branch 5 taken 2 times.
|
2 | result.insert(result.end(), removedDefrostCycleParameters.begin(), removedDefrostCycleParameters.end()); |
| 122 | 8 | } | |
| 123 | |||
| 124 |
1/1✓ Branch 1 taken 6 times.
|
6 | std::vector<RefrigerationWalkInZoneBoundary> zoneBoundaries = this->zoneBoundaries(); |
| 125 |
2/2✓ Branch 5 taken 6 times.
✓ Branch 6 taken 6 times.
|
12 | for (auto& zoneBoundary : zoneBoundaries) { |
| 126 |
1/1✓ Branch 1 taken 6 times.
|
6 | std::vector<IdfObject> removedZoneBoundaries = zoneBoundary.remove(); |
| 127 |
1/1✓ Branch 5 taken 6 times.
|
6 | result.insert(result.end(), removedZoneBoundaries.begin(), removedZoneBoundaries.end()); |
| 128 | 6 | } | |
| 129 | |||
| 130 | // t_model->blockSignals(false); | ||
| 131 | |||
| 132 |
1/1✓ Branch 1 taken 6 times.
|
6 | std::vector<IdfObject> removedRRefrigerationWalkIn = ModelObject_Impl::remove(); |
| 133 |
1/1✓ Branch 5 taken 6 times.
|
6 | result.insert(result.end(), removedRRefrigerationWalkIn.begin(), removedRRefrigerationWalkIn.end()); |
| 134 | |||
| 135 | 12 | return result; | |
| 136 | 6 | } | |
| 137 | |||
| 138 | 15 | ModelObject RefrigerationWalkIn_Impl::clone(Model model) const { | |
| 139 |
3/3✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 7 taken 15 times.
|
15 | auto modelObjectClone = ModelObject_Impl::clone(model).cast<RefrigerationWalkIn>(); |
| 140 | |||
| 141 |
3/3✓ Branch 1 taken 15 times.
✓ Branch 3 taken 1 time.
✓ Branch 4 taken 14 times.
|
30 | if (boost::optional<RefrigerationDefrostCycleParameters> walkinDefrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 142 |
1/1✓ Branch 3 taken 1 time.
|
3 | modelObjectClone.getImpl<RefrigerationWalkIn_Impl>()->setWalkinDefrostCycleParameters( |
| 143 |
4/4✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
|
2 | walkinDefrostCycleParameters->clone(model).cast<RefrigerationDefrostCycleParameters>()); |
| 144 | 15 | } | |
| 145 | |||
| 146 |
1/1✓ Branch 1 taken 15 times.
|
15 | modelObjectClone.removeAllZoneBoundaries(); |
| 147 | |||
| 148 |
1/1✓ Branch 1 taken 15 times.
|
15 | std::vector<RefrigerationWalkInZoneBoundary> zoneBoundaries = this->zoneBoundaries(); |
| 149 |
2/2✓ Branch 5 taken 15 times.
✓ Branch 6 taken 15 times.
|
30 | for (const auto& zoneBoundary : zoneBoundaries) { |
| 150 |
3/3✓ Branch 1 taken 15 times.
✓ Branch 4 taken 15 times.
✓ Branch 7 taken 15 times.
|
15 | auto zoneBoundaryClone = zoneBoundary.clone(model).cast<RefrigerationWalkInZoneBoundary>(); |
| 151 |
1/1✓ Branch 1 taken 15 times.
|
15 | modelObjectClone.addZoneBoundary(zoneBoundaryClone); |
| 152 | 15 | } | |
| 153 | |||
| 154 | 30 | return std::move(modelObjectClone); | |
| 155 | 15 | } | |
| 156 | |||
| 157 | 78 | bool RefrigerationWalkIn_Impl::addZoneBoundary(const RefrigerationWalkInZoneBoundary& refrigerationWalkInZoneBoundary) { | |
| 158 |
3/3✓ Branch 1 taken 78 times.
✓ Branch 4 taken 78 times.
✓ Branch 7 taken 78 times.
|
78 | auto eg = getObject<ModelObject>().pushExtensibleGroup().cast<WorkspaceExtensibleGroup>(); |
| 159 |
2/2✓ Branch 1 taken 78 times.
✓ Branch 4 taken 78 times.
|
78 | bool temp = eg.setPointer(OS_Refrigeration_WalkInExtensibleFields::WalkInZoneBoundary, refrigerationWalkInZoneBoundary.handle()); |
| 160 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 78 times.
|
78 | if (!temp) { |
| 161 | ✗ | getObject<ModelObject>().eraseExtensibleGroup(eg.groupIndex()); | |
| 162 | ✗ | return temp; | |
| 163 | } | ||
| 164 | 78 | return temp; | |
| 165 | 78 | } | |
| 166 | |||
| 167 | 1 | void RefrigerationWalkIn_Impl::removeZoneBoundary(unsigned index) { | |
| 168 | 1 | unsigned numberofDataPairs = numExtensibleGroups(); | |
| 169 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (index < numberofDataPairs) { |
| 170 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | getObject<ModelObject>().eraseExtensibleGroup(index); |
| 171 | } | ||
| 172 | 1 | } | |
| 173 | |||
| 174 | 16 | void RefrigerationWalkIn_Impl::removeAllZoneBoundaries() { | |
| 175 |
2/2✓ Branch 1 taken 16 times.
✓ Branch 4 taken 16 times.
|
16 | getObject<ModelObject>().clearExtensibleGroups(); |
| 176 | 16 | } | |
| 177 | |||
| 178 | 30 | std::vector<RefrigerationWalkInZoneBoundary> RefrigerationWalkIn_Impl::zoneBoundaries() const { | |
| 179 | 30 | std::vector<RefrigerationWalkInZoneBoundary> result; | |
| 180 | |||
| 181 |
1/1✓ Branch 1 taken 30 times.
|
30 | std::vector<IdfExtensibleGroup> groups = extensibleGroups(); |
| 182 | |||
| 183 |
2/2✓ Branch 5 taken 29 times.
✓ Branch 6 taken 30 times.
|
59 | for (const auto& group : groups) { |
| 184 | 29 | if (boost::optional<WorkspaceObject> wo = | |
| 185 |
3/4✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
✓ Branch 8 taken 29 times.
✗ Branch 9 not taken.
|
58 | group.cast<WorkspaceExtensibleGroup>().getTarget(OS_Refrigeration_WalkInExtensibleFields::WalkInZoneBoundary)) { |
| 186 | 29 | if (boost::optional<RefrigerationWalkInZoneBoundary> refrigerationWalkInZoneBoundary = | |
| 187 |
3/4✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
✓ Branch 6 taken 29 times.
✗ Branch 7 not taken.
|
58 | wo->optionalCast<RefrigerationWalkInZoneBoundary>()) { |
| 188 |
1/2✓ Branch 0 taken 29 times.
✗ Branch 1 not taken.
|
29 | if (refrigerationWalkInZoneBoundary) { |
| 189 |
2/2✓ Branch 1 taken 29 times.
✓ Branch 4 taken 29 times.
|
29 | result.push_back(refrigerationWalkInZoneBoundary.get()); |
| 190 | } | ||
| 191 | 29 | } | |
| 192 | 29 | } | |
| 193 | } | ||
| 194 | |||
| 195 | 60 | return result; | |
| 196 | 30 | } | |
| 197 | |||
| 198 | ✗ | boost::optional<Schedule> RefrigerationWalkIn_Impl::availabilitySchedule() const { | |
| 199 | ✗ | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::AvailabilityScheduleName); | |
| 200 | } | ||
| 201 | |||
| 202 | 3 | double RefrigerationWalkIn_Impl::ratedCoilCoolingCapacity() const { | |
| 203 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::RatedCoilCoolingCapacity, true); |
| 204 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 205 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 206 | } | ||
| 207 | |||
| 208 | 3 | double RefrigerationWalkIn_Impl::operatingTemperature() const { | |
| 209 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::OperatingTemperature, true); |
| 210 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 211 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 212 | } | ||
| 213 | |||
| 214 | 3 | double RefrigerationWalkIn_Impl::ratedCoolingSourceTemperature() const { | |
| 215 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::RatedCoolingSourceTemperature, true); |
| 216 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 217 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 218 | } | ||
| 219 | |||
| 220 | 3 | double RefrigerationWalkIn_Impl::ratedTotalHeatingPower() const { | |
| 221 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::RatedTotalHeatingPower, true); |
| 222 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 223 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 224 | } | ||
| 225 | |||
| 226 | ✗ | boost::optional<Schedule> RefrigerationWalkIn_Impl::heatingPowerSchedule() const { | |
| 227 | ✗ | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::HeatingPowerScheduleName); | |
| 228 | } | ||
| 229 | |||
| 230 | 3 | double RefrigerationWalkIn_Impl::ratedCoolingCoilFanPower() const { | |
| 231 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::RatedCoolingCoilFanPower, true); |
| 232 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 233 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 234 | } | ||
| 235 | |||
| 236 | ✗ | bool RefrigerationWalkIn_Impl::isRatedCoolingCoilFanPowerDefaulted() const { | |
| 237 | ✗ | return isEmpty(OS_Refrigeration_WalkInFields::RatedCoolingCoilFanPower); | |
| 238 | } | ||
| 239 | |||
| 240 | 3 | double RefrigerationWalkIn_Impl::ratedCirculationFanPower() const { | |
| 241 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::RatedCirculationFanPower, true); |
| 242 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 243 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 244 | } | ||
| 245 | |||
| 246 | ✗ | bool RefrigerationWalkIn_Impl::isRatedCirculationFanPowerDefaulted() const { | |
| 247 | ✗ | return isEmpty(OS_Refrigeration_WalkInFields::RatedCirculationFanPower); | |
| 248 | } | ||
| 249 | |||
| 250 | 3 | double RefrigerationWalkIn_Impl::ratedTotalLightingPower() const { | |
| 251 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::RatedTotalLightingPower, true); |
| 252 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 253 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 254 | } | ||
| 255 | |||
| 256 | ✗ | boost::optional<Schedule> RefrigerationWalkIn_Impl::lightingSchedule() const { | |
| 257 | ✗ | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::LightingScheduleName); | |
| 258 | } | ||
| 259 | |||
| 260 | 3 | std::string RefrigerationWalkIn_Impl::defrostType() const { | |
| 261 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<std::string> value = getString(OS_Refrigeration_WalkInFields::DefrostType, true); |
| 262 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 263 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return value.get(); |
| 264 | 3 | } | |
| 265 | |||
| 266 | ✗ | bool RefrigerationWalkIn_Impl::isDefrostTypeDefaulted() const { | |
| 267 | ✗ | return isEmpty(OS_Refrigeration_WalkInFields::DefrostType); | |
| 268 | } | ||
| 269 | |||
| 270 | 3 | std::string RefrigerationWalkIn_Impl::defrostControlType() const { | |
| 271 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<std::string> value = getString(OS_Refrigeration_WalkInFields::DefrostControlType, true); |
| 272 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 273 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | return value.get(); |
| 274 | 3 | } | |
| 275 | |||
| 276 | ✗ | bool RefrigerationWalkIn_Impl::isDefrostControlTypeDefaulted() const { | |
| 277 | ✗ | return isEmpty(OS_Refrigeration_WalkInFields::DefrostControlType); | |
| 278 | } | ||
| 279 | |||
| 280 | 9 | Schedule RefrigerationWalkIn_Impl::defrostSchedule() const { | |
| 281 |
1/1✓ Branch 1 taken 9 times.
|
9 | boost::optional<Schedule> value = optionalDefrostSchedule(); |
| 282 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 9 times.
|
9 | if (!value) { |
| 283 | ✗ | LOG_AND_THROW(briefDescription() << " does not have an Defrost Schedule attached."); | |
| 284 | } | ||
| 285 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
18 | return value.get(); |
| 286 | 9 | } | |
| 287 | |||
| 288 | 1 | boost::optional<Schedule> RefrigerationWalkIn_Impl::defrostDripDownSchedule() const { | |
| 289 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::DefrostDripDownScheduleName); |
| 290 | } | ||
| 291 | |||
| 292 | 3 | boost::optional<double> RefrigerationWalkIn_Impl::defrostPower() const { | |
| 293 | 3 | return getDouble(OS_Refrigeration_WalkInFields::DefrostPower, true); | |
| 294 | } | ||
| 295 | |||
| 296 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::temperatureTerminationDefrostFractiontoIce() const { | |
| 297 | ✗ | return getDouble(OS_Refrigeration_WalkInFields::TemperatureTerminationDefrostFractiontoIce, true); | |
| 298 | } | ||
| 299 | |||
| 300 | ✗ | boost::optional<Schedule> RefrigerationWalkIn_Impl::restockingSchedule() const { | |
| 301 | ✗ | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::RestockingScheduleName); | |
| 302 | } | ||
| 303 | |||
| 304 | ✗ | double RefrigerationWalkIn_Impl::averageRefrigerantChargeInventory() const { | |
| 305 | ✗ | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::AverageRefrigerantChargeInventory, true); | |
| 306 | ✗ | OS_ASSERT(value); | |
| 307 | ✗ | return value.get(); | |
| 308 | } | ||
| 309 | |||
| 310 | ✗ | bool RefrigerationWalkIn_Impl::isAverageRefrigerantChargeInventoryDefaulted() const { | |
| 311 | ✗ | return isEmpty(OS_Refrigeration_WalkInFields::AverageRefrigerantChargeInventory); | |
| 312 | } | ||
| 313 | |||
| 314 | 3 | double RefrigerationWalkIn_Impl::insulatedFloorSurfaceArea() const { | |
| 315 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::InsulatedFloorSurfaceArea, true); |
| 316 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 317 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 318 | } | ||
| 319 | |||
| 320 | 3 | double RefrigerationWalkIn_Impl::insulatedFloorUValue() const { | |
| 321 |
1/1✓ Branch 1 taken 3 times.
|
3 | boost::optional<double> value = getDouble(OS_Refrigeration_WalkInFields::InsulatedFloorUValue, true); |
| 322 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 3 times.
✗ Branch 4 not taken.
|
3 | OS_ASSERT(value); |
| 323 |
1/1✓ Branch 1 taken 3 times.
|
6 | return value.get(); |
| 324 | } | ||
| 325 | |||
| 326 | ✗ | bool RefrigerationWalkIn_Impl::isInsulatedFloorUValueDefaulted() const { | |
| 327 | ✗ | return isEmpty(OS_Refrigeration_WalkInFields::InsulatedFloorUValue); | |
| 328 | } | ||
| 329 | |||
| 330 | 54 | boost::optional<RefrigerationDefrostCycleParameters> RefrigerationWalkIn_Impl::optionalWalkinDefrostCycleParameters() const { | |
| 331 |
1/1✓ Branch 1 taken 54 times.
|
108 | return getObject<ModelObject>().getModelObjectTarget<RefrigerationDefrostCycleParameters>( |
| 332 |
1/1✓ Branch 1 taken 54 times.
|
108 | OS_Refrigeration_WalkInFields::WalkInDefrostCycleParametersName); |
| 333 | } | ||
| 334 | |||
| 335 | 11 | RefrigerationDefrostCycleParameters RefrigerationWalkIn_Impl::walkinDefrostCycleParameters() { | |
| 336 |
1/1✓ Branch 1 taken 11 times.
|
11 | boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters(); |
| 337 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 2 taken 10 times.
|
11 | if (!defrostCycleParameters) { |
| 338 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
1 | defrostCycleParameters = RefrigerationDefrostCycleParameters(this->model()); |
| 339 |
1/3✗ Branch 1 not taken.
✓ Branch 2 taken 1 time.
✗ Branch 4 not taken.
|
1 | OS_ASSERT(defrostCycleParameters); |
| 340 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | bool result = setWalkinDefrostCycleParameters(*defrostCycleParameters); |
| 341 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
✗ Branch 3 not taken.
|
1 | OS_ASSERT(result); |
| 342 | } | ||
| 343 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
22 | return *defrostCycleParameters; |
| 344 | 11 | } | |
| 345 | |||
| 346 | 1 | boost::optional<int> RefrigerationWalkIn_Impl::durationofDefrostCycle() const { | |
| 347 |
2/3✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
|
2 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 348 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->durationofDefrostCycle(); |
| 349 | 1 | } | |
| 350 | ✗ | return boost::none; | |
| 351 | } | ||
| 352 | |||
| 353 | 1 | boost::optional<int> RefrigerationWalkIn_Impl::dripDownTime() const { | |
| 354 |
2/3✓ Branch 1 taken 1 time.
✓ Branch 3 taken 1 time.
✗ Branch 4 not taken.
|
2 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 355 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->dripDownTime(); |
| 356 | 1 | } | |
| 357 | ✗ | return boost::none; | |
| 358 | } | ||
| 359 | |||
| 360 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost1StartTime() const { | |
| 361 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 362 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost1StartTime(); |
| 363 | 2 | } | |
| 364 | ✗ | return boost::none; | |
| 365 | } | ||
| 366 | |||
| 367 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost2StartTime() const { | |
| 368 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 369 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost2StartTime(); |
| 370 | 2 | } | |
| 371 | ✗ | return boost::none; | |
| 372 | } | ||
| 373 | |||
| 374 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost3StartTime() const { | |
| 375 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 376 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost3StartTime(); |
| 377 | 2 | } | |
| 378 | ✗ | return boost::none; | |
| 379 | } | ||
| 380 | |||
| 381 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost4StartTime() const { | |
| 382 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 383 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost4StartTime(); |
| 384 | 2 | } | |
| 385 | ✗ | return boost::none; | |
| 386 | } | ||
| 387 | |||
| 388 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost5StartTime() const { | |
| 389 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 390 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost5StartTime(); |
| 391 | 2 | } | |
| 392 | ✗ | return boost::none; | |
| 393 | } | ||
| 394 | |||
| 395 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost6StartTime() const { | |
| 396 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 397 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost6StartTime(); |
| 398 | 2 | } | |
| 399 | ✗ | return boost::none; | |
| 400 | } | ||
| 401 | |||
| 402 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost7StartTime() const { | |
| 403 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 404 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost7StartTime(); |
| 405 | 2 | } | |
| 406 | ✗ | return boost::none; | |
| 407 | } | ||
| 408 | |||
| 409 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn_Impl::defrost8StartTime() const { | |
| 410 |
2/3✓ Branch 1 taken 2 times.
✓ Branch 3 taken 2 times.
✗ Branch 4 not taken.
|
4 | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { |
| 411 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->defrost8StartTime(); |
| 412 | 2 | } | |
| 413 | ✗ | return boost::none; | |
| 414 | } | ||
| 415 | |||
| 416 | ✗ | std::vector<openstudio::Time> RefrigerationWalkIn_Impl::defrostStartTimes() const { | |
| 417 | ✗ | std::vector<openstudio::Time> result; | |
| 418 | ✗ | if (boost::optional<openstudio::Time> defrost1StartTime = this->defrost1StartTime()) { | |
| 419 | ✗ | result.push_back(*defrost1StartTime); | |
| 420 | ✗ | } | |
| 421 | ✗ | if (boost::optional<openstudio::Time> defrost2StartTime = this->defrost2StartTime()) { | |
| 422 | ✗ | result.push_back(*defrost2StartTime); | |
| 423 | ✗ | } | |
| 424 | ✗ | if (boost::optional<openstudio::Time> defrost3StartTime = this->defrost3StartTime()) { | |
| 425 | ✗ | result.push_back(*defrost3StartTime); | |
| 426 | ✗ | } | |
| 427 | ✗ | if (boost::optional<openstudio::Time> defrost4StartTime = this->defrost4StartTime()) { | |
| 428 | ✗ | result.push_back(*defrost4StartTime); | |
| 429 | ✗ | } | |
| 430 | ✗ | if (boost::optional<openstudio::Time> defrost5StartTime = this->defrost5StartTime()) { | |
| 431 | ✗ | result.push_back(*defrost5StartTime); | |
| 432 | ✗ | } | |
| 433 | ✗ | if (boost::optional<openstudio::Time> defrost6StartTime = this->defrost6StartTime()) { | |
| 434 | ✗ | result.push_back(*defrost6StartTime); | |
| 435 | ✗ | } | |
| 436 | ✗ | if (boost::optional<openstudio::Time> defrost7StartTime = this->defrost7StartTime()) { | |
| 437 | ✗ | result.push_back(*defrost7StartTime); | |
| 438 | ✗ | } | |
| 439 | ✗ | if (boost::optional<openstudio::Time> defrost8StartTime = this->defrost8StartTime()) { | |
| 440 | ✗ | result.push_back(*defrost8StartTime); | |
| 441 | ✗ | } | |
| 442 | ✗ | return result; | |
| 443 | ✗ | } | |
| 444 | |||
| 445 | ✗ | boost::optional<ThermalZone> RefrigerationWalkIn_Impl::zoneBoundaryThermalZone() const { | |
| 446 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 447 | ✗ | return t_zoneBoundary->thermalZone(); | |
| 448 | ✗ | } | |
| 449 | ✗ | return boost::none; | |
| 450 | } | ||
| 451 | |||
| 452 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryTotalInsulatedSurfaceAreaFacingZone() const { | |
| 453 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 454 | ✗ | return t_zoneBoundary->totalInsulatedSurfaceAreaFacingZone(); | |
| 455 | ✗ | } | |
| 456 | ✗ | return boost::none; | |
| 457 | } | ||
| 458 | |||
| 459 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryAreaofGlassReachInDoorsFacingZone() const { | |
| 460 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 461 | ✗ | return t_zoneBoundary->areaofGlassReachInDoorsFacingZone(); | |
| 462 | ✗ | } | |
| 463 | ✗ | return boost::none; | |
| 464 | } | ||
| 465 | |||
| 466 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryHeightofGlassReachInDoorsFacingZone() const { | |
| 467 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 468 | ✗ | return t_zoneBoundary->heightofGlassReachInDoorsFacingZone(); | |
| 469 | ✗ | } | |
| 470 | ✗ | return boost::none; | |
| 471 | } | ||
| 472 | |||
| 473 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryAreaofStockingDoorsFacingZone() const { | |
| 474 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 475 | ✗ | return t_zoneBoundary->areaofStockingDoorsFacingZone(); | |
| 476 | ✗ | } | |
| 477 | ✗ | return boost::none; | |
| 478 | } | ||
| 479 | |||
| 480 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryHeightofStockingDoorsFacingZone() const { | |
| 481 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 482 | ✗ | return t_zoneBoundary->heightofStockingDoorsFacingZone(); | |
| 483 | ✗ | } | |
| 484 | ✗ | return boost::none; | |
| 485 | } | ||
| 486 | |||
| 487 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryInsulatedSurfaceUValueFacingZone() const { | |
| 488 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 489 | ✗ | return t_zoneBoundary->insulatedSurfaceUValueFacingZone(); | |
| 490 | ✗ | } | |
| 491 | ✗ | return boost::none; | |
| 492 | } | ||
| 493 | |||
| 494 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryGlassReachInDoorUValueFacingZone() const { | |
| 495 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 496 | ✗ | return t_zoneBoundary->glassReachInDoorUValueFacingZone(); | |
| 497 | ✗ | } | |
| 498 | ✗ | return boost::none; | |
| 499 | } | ||
| 500 | |||
| 501 | ✗ | boost::optional<double> RefrigerationWalkIn_Impl::zoneBoundaryStockingDoorUValueFacingZone() const { | |
| 502 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 503 | ✗ | return t_zoneBoundary->stockingDoorUValueFacingZone(); | |
| 504 | ✗ | } | |
| 505 | ✗ | return boost::none; | |
| 506 | } | ||
| 507 | |||
| 508 | ✗ | boost::optional<Schedule> RefrigerationWalkIn_Impl::zoneBoundaryStockingDoorOpeningScheduleFacingZone() const { | |
| 509 | ✗ | if (boost::optional<RefrigerationWalkInZoneBoundary> t_zoneBoundary = zoneBoundary()) { | |
| 510 | ✗ | return t_zoneBoundary->stockingDoorOpeningScheduleFacingZone(); | |
| 511 | ✗ | } | |
| 512 | ✗ | return boost::none; | |
| 513 | } | ||
| 514 | |||
| 515 | 23 | boost::optional<RefrigerationSystem> RefrigerationWalkIn_Impl::system() const { | |
| 516 |
2/2✓ Branch 1 taken 23 times.
✓ Branch 4 taken 23 times.
|
23 | std::vector<RefrigerationSystem> refrigerationSystems = this->model().getConcreteModelObjects<RefrigerationSystem>(); |
| 517 |
1/1✓ Branch 1 taken 23 times.
|
23 | auto refrigerationWalkIn = this->getObject<RefrigerationWalkIn>(); |
| 518 |
2/2✓ Branch 5 taken 19 times.
✓ Branch 6 taken 20 times.
|
39 | for (const RefrigerationSystem& refrigerationSystem : refrigerationSystems) { |
| 519 |
1/1✓ Branch 1 taken 19 times.
|
19 | RefrigerationWalkInVector refrigerationWalkIns = refrigerationSystem.walkins(); |
| 520 | 19 | if (!refrigerationWalkIns.empty() | |
| 521 |
7/7✓ Branch 0 taken 7 times.
✓ Branch 1 taken 12 times.
✓ Branch 6 taken 7 times.
✓ Branch 9 taken 3 times.
✓ Branch 10 taken 4 times.
✓ Branch 11 taken 3 times.
✓ Branch 12 taken 16 times.
|
19 | && std::find(refrigerationWalkIns.begin(), refrigerationWalkIns.end(), refrigerationWalkIn) != refrigerationWalkIns.end()) { |
| 522 |
1/1✓ Branch 1 taken 3 times.
|
3 | return refrigerationSystem; |
| 523 | } | ||
| 524 | 19 | } | |
| 525 | 20 | return boost::none; | |
| 526 | 23 | } | |
| 527 | |||
| 528 | 11 | boost::optional<RefrigerationSecondarySystem> RefrigerationWalkIn_Impl::secondarySystem() const { | |
| 529 |
2/2✓ Branch 1 taken 11 times.
✓ Branch 4 taken 11 times.
|
11 | std::vector<RefrigerationSecondarySystem> refrigerationSecondarySystems = this->model().getConcreteModelObjects<RefrigerationSecondarySystem>(); |
| 530 |
1/1✓ Branch 1 taken 11 times.
|
11 | auto refrigerationWalkIn = this->getObject<RefrigerationWalkIn>(); |
| 531 |
2/2✓ Branch 5 taken 11 times.
✓ Branch 6 taken 11 times.
|
22 | for (const RefrigerationSecondarySystem& refrigerationSecondarySystem : refrigerationSecondarySystems) { |
| 532 |
1/1✓ Branch 1 taken 11 times.
|
11 | RefrigerationWalkInVector refrigerationWalkIns = refrigerationSecondarySystem.walkins(); |
| 533 | 11 | if (!refrigerationWalkIns.empty() | |
| 534 |
5/7✓ Branch 0 taken 4 times.
✓ Branch 1 taken 7 times.
✓ Branch 6 taken 4 times.
✗ Branch 9 not taken.
✓ Branch 10 taken 4 times.
✗ Branch 11 not taken.
✓ Branch 12 taken 11 times.
|
11 | && std::find(refrigerationWalkIns.begin(), refrigerationWalkIns.end(), refrigerationWalkIn) != refrigerationWalkIns.end()) { |
| 535 | ✗ | return refrigerationSecondarySystem; | |
| 536 | } | ||
| 537 | 11 | } | |
| 538 | 11 | return boost::none; | |
| 539 | 11 | } | |
| 540 | |||
| 541 | 1 | boost::optional<RefrigerationCompressorRack> RefrigerationWalkIn_Impl::compressorRack() const { | |
| 542 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
|
1 | std::vector<RefrigerationCompressorRack> refrigerationCompressorRacks = this->model().getConcreteModelObjects<RefrigerationCompressorRack>(); |
| 543 |
1/1✓ Branch 1 taken 1 time.
|
1 | auto refrigerationWalkIn = this->getObject<RefrigerationWalkIn>(); |
| 544 |
2/2✓ Branch 5 taken 1 time.
✓ Branch 6 taken 1 time.
|
2 | for (const RefrigerationCompressorRack& refrigerationCompressorRack : refrigerationCompressorRacks) { |
| 545 |
1/1✓ Branch 1 taken 1 time.
|
1 | RefrigerationWalkInVector refrigerationWalkIns = refrigerationCompressorRack.walkins(); |
| 546 | 1 | if (!refrigerationWalkIns.empty() | |
| 547 |
2/7✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
✗ Branch 6 not taken.
✗ Branch 9 not taken.
✗ Branch 10 not taken.
✗ Branch 11 not taken.
✓ Branch 12 taken 1 time.
|
1 | && std::find(refrigerationWalkIns.begin(), refrigerationWalkIns.end(), refrigerationWalkIn) != refrigerationWalkIns.end()) { |
| 548 | ✗ | return refrigerationCompressorRack; | |
| 549 | } | ||
| 550 | 1 | } | |
| 551 | 1 | return boost::none; | |
| 552 | 1 | } | |
| 553 | |||
| 554 | ✗ | bool RefrigerationWalkIn_Impl::setAvailabilitySchedule(Schedule& schedule) { | |
| 555 | ✗ | bool result = setSchedule(OS_Refrigeration_WalkInFields::AvailabilityScheduleName, "RefrigerationWalkIn", "Availability", schedule); | |
| 556 | ✗ | return result; | |
| 557 | } | ||
| 558 | |||
| 559 | ✗ | void RefrigerationWalkIn_Impl::resetAvailabilitySchedule() { | |
| 560 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::AvailabilityScheduleName, ""); | |
| 561 | ✗ | OS_ASSERT(result); | |
| 562 | ✗ | } | |
| 563 | |||
| 564 | 62 | bool RefrigerationWalkIn_Impl::setRatedCoilCoolingCapacity(double ratedCoilCoolingCapacity) { | |
| 565 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::RatedCoilCoolingCapacity, ratedCoilCoolingCapacity); | |
| 566 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 62 times.
|
62 | OS_ASSERT(result); |
| 567 | 62 | return result; | |
| 568 | } | ||
| 569 | |||
| 570 | 62 | bool RefrigerationWalkIn_Impl::setOperatingTemperature(double operatingTemperature) { | |
| 571 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::OperatingTemperature, operatingTemperature); | |
| 572 | 62 | return result; | |
| 573 | } | ||
| 574 | |||
| 575 | 62 | bool RefrigerationWalkIn_Impl::setRatedCoolingSourceTemperature(double ratedCoolingSourceTemperature) { | |
| 576 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::RatedCoolingSourceTemperature, ratedCoolingSourceTemperature); | |
| 577 | 62 | return result; | |
| 578 | } | ||
| 579 | |||
| 580 | 62 | bool RefrigerationWalkIn_Impl::setRatedTotalHeatingPower(double ratedTotalHeatingPower) { | |
| 581 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::RatedTotalHeatingPower, ratedTotalHeatingPower); | |
| 582 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 62 times.
|
62 | OS_ASSERT(result); |
| 583 | 62 | return result; | |
| 584 | } | ||
| 585 | |||
| 586 | ✗ | bool RefrigerationWalkIn_Impl::setHeatingPowerSchedule(Schedule& schedule) { | |
| 587 | ✗ | bool result = setSchedule(OS_Refrigeration_WalkInFields::HeatingPowerScheduleName, "RefrigerationWalkIn", "Heating Power", schedule); | |
| 588 | ✗ | return result; | |
| 589 | } | ||
| 590 | |||
| 591 | ✗ | void RefrigerationWalkIn_Impl::resetHeatingPowerSchedule() { | |
| 592 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::HeatingPowerScheduleName, ""); | |
| 593 | ✗ | OS_ASSERT(result); | |
| 594 | ✗ | } | |
| 595 | |||
| 596 | 62 | bool RefrigerationWalkIn_Impl::setRatedCoolingCoilFanPower(double ratedCoolingCoilFanPower) { | |
| 597 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::RatedCoolingCoilFanPower, ratedCoolingCoilFanPower); | |
| 598 | 62 | return result; | |
| 599 | } | ||
| 600 | |||
| 601 | ✗ | void RefrigerationWalkIn_Impl::resetRatedCoolingCoilFanPower() { | |
| 602 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::RatedCoolingCoilFanPower, ""); | |
| 603 | ✗ | OS_ASSERT(result); | |
| 604 | ✗ | } | |
| 605 | |||
| 606 | 62 | bool RefrigerationWalkIn_Impl::setRatedCirculationFanPower(double ratedCirculationFanPower) { | |
| 607 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::RatedCirculationFanPower, ratedCirculationFanPower); | |
| 608 | 62 | return result; | |
| 609 | } | ||
| 610 | |||
| 611 | ✗ | void RefrigerationWalkIn_Impl::resetRatedCirculationFanPower() { | |
| 612 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::RatedCirculationFanPower, ""); | |
| 613 | ✗ | OS_ASSERT(result); | |
| 614 | ✗ | } | |
| 615 | |||
| 616 | 62 | bool RefrigerationWalkIn_Impl::setRatedTotalLightingPower(double ratedTotalLightingPower) { | |
| 617 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::RatedTotalLightingPower, ratedTotalLightingPower); | |
| 618 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 62 times.
|
62 | OS_ASSERT(result); |
| 619 | 62 | return result; | |
| 620 | } | ||
| 621 | |||
| 622 | ✗ | bool RefrigerationWalkIn_Impl::setLightingSchedule(Schedule& schedule) { | |
| 623 | ✗ | bool result = setSchedule(OS_Refrigeration_WalkInFields::LightingScheduleName, "RefrigerationWalkIn", "Lighting", schedule); | |
| 624 | ✗ | return result; | |
| 625 | } | ||
| 626 | |||
| 627 | ✗ | void RefrigerationWalkIn_Impl::resetLightingSchedule() { | |
| 628 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::LightingScheduleName, ""); | |
| 629 | ✗ | OS_ASSERT(result); | |
| 630 | ✗ | } | |
| 631 | |||
| 632 | 62 | bool RefrigerationWalkIn_Impl::setDefrostType(const std::string& defrostType) { | |
| 633 | 62 | bool result = setString(OS_Refrigeration_WalkInFields::DefrostType, defrostType); | |
| 634 | 62 | return result; | |
| 635 | } | ||
| 636 | |||
| 637 | ✗ | void RefrigerationWalkIn_Impl::resetDefrostType() { | |
| 638 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::DefrostType, ""); | |
| 639 | ✗ | OS_ASSERT(result); | |
| 640 | ✗ | } | |
| 641 | |||
| 642 | 62 | bool RefrigerationWalkIn_Impl::setDefrostControlType(const std::string& defrostControlType) { | |
| 643 | 62 | bool result = setString(OS_Refrigeration_WalkInFields::DefrostControlType, defrostControlType); | |
| 644 | 62 | return result; | |
| 645 | } | ||
| 646 | |||
| 647 | ✗ | void RefrigerationWalkIn_Impl::resetDefrostControlType() { | |
| 648 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::DefrostControlType, ""); | |
| 649 | ✗ | OS_ASSERT(result); | |
| 650 | ✗ | } | |
| 651 | |||
| 652 | 62 | bool RefrigerationWalkIn_Impl::setDefrostSchedule(Schedule& schedule) { | |
| 653 |
3/3✓ Branch 1 taken 62 times.
✓ Branch 4 taken 62 times.
✓ Branch 7 taken 62 times.
|
248 | bool result = setSchedule(OS_Refrigeration_WalkInFields::DefrostScheduleName, "RefrigerationWalkIn", "Defrost", schedule); |
| 654 | 62 | return result; | |
| 655 | } | ||
| 656 | |||
| 657 | 1 | bool RefrigerationWalkIn_Impl::setDefrostDripDownSchedule(Schedule& schedule) { | |
| 658 |
3/3✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
|
4 | bool result = setSchedule(OS_Refrigeration_WalkInFields::DefrostDripDownScheduleName, "RefrigerationWalkIn", "Defrost Drip-Down", schedule); |
| 659 | 1 | return result; | |
| 660 | } | ||
| 661 | |||
| 662 | ✗ | void RefrigerationWalkIn_Impl::resetDefrostDripDownSchedule() { | |
| 663 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::DefrostDripDownScheduleName, ""); | |
| 664 | ✗ | OS_ASSERT(result); | |
| 665 | ✗ | } | |
| 666 | |||
| 667 | 62 | bool RefrigerationWalkIn_Impl::setDefrostPower(boost::optional<double> defrostPower) { | |
| 668 | 62 | bool result(false); | |
| 669 |
1/2✓ Branch 0 taken 62 times.
✗ Branch 1 not taken.
|
62 | if (defrostPower) { |
| 670 | 62 | result = setDouble(OS_Refrigeration_WalkInFields::DefrostPower, defrostPower.get()); | |
| 671 | } else { | ||
| 672 | ✗ | resetDefrostPower(); | |
| 673 | ✗ | result = true; | |
| 674 | } | ||
| 675 | 62 | return result; | |
| 676 | } | ||
| 677 | |||
| 678 | ✗ | void RefrigerationWalkIn_Impl::resetDefrostPower() { | |
| 679 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::DefrostPower, ""); | |
| 680 | ✗ | OS_ASSERT(result); | |
| 681 | ✗ | } | |
| 682 | |||
| 683 | ✗ | bool RefrigerationWalkIn_Impl::setTemperatureTerminationDefrostFractiontoIce(boost::optional<double> temperatureTerminationDefrostFractiontoIce) { | |
| 684 | ✗ | bool result(false); | |
| 685 | ✗ | if (temperatureTerminationDefrostFractiontoIce) { | |
| 686 | result = | ||
| 687 | ✗ | setDouble(OS_Refrigeration_WalkInFields::TemperatureTerminationDefrostFractiontoIce, temperatureTerminationDefrostFractiontoIce.get()); | |
| 688 | } else { | ||
| 689 | ✗ | resetTemperatureTerminationDefrostFractiontoIce(); | |
| 690 | ✗ | result = true; | |
| 691 | } | ||
| 692 | ✗ | return result; | |
| 693 | } | ||
| 694 | |||
| 695 | ✗ | void RefrigerationWalkIn_Impl::resetTemperatureTerminationDefrostFractiontoIce() { | |
| 696 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::TemperatureTerminationDefrostFractiontoIce, ""); | |
| 697 | ✗ | OS_ASSERT(result); | |
| 698 | ✗ | } | |
| 699 | |||
| 700 | ✗ | bool RefrigerationWalkIn_Impl::setRestockingSchedule(Schedule& schedule) { | |
| 701 | ✗ | bool result = setSchedule(OS_Refrigeration_WalkInFields::RestockingScheduleName, "RefrigerationWalkIn", "Restocking", schedule); | |
| 702 | ✗ | return result; | |
| 703 | } | ||
| 704 | |||
| 705 | ✗ | void RefrigerationWalkIn_Impl::resetRestockingSchedule() { | |
| 706 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::RestockingScheduleName, ""); | |
| 707 | ✗ | OS_ASSERT(result); | |
| 708 | ✗ | } | |
| 709 | |||
| 710 | ✗ | bool RefrigerationWalkIn_Impl::setAverageRefrigerantChargeInventory(double averageRefrigerantChargeInventory) { | |
| 711 | ✗ | bool result = setDouble(OS_Refrigeration_WalkInFields::AverageRefrigerantChargeInventory, averageRefrigerantChargeInventory); | |
| 712 | ✗ | OS_ASSERT(result); | |
| 713 | ✗ | return result; | |
| 714 | } | ||
| 715 | |||
| 716 | ✗ | void RefrigerationWalkIn_Impl::resetAverageRefrigerantChargeInventory() { | |
| 717 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::AverageRefrigerantChargeInventory, ""); | |
| 718 | ✗ | OS_ASSERT(result); | |
| 719 | ✗ | } | |
| 720 | |||
| 721 | 62 | bool RefrigerationWalkIn_Impl::setInsulatedFloorSurfaceArea(double insulatedFloorSurfaceArea) { | |
| 722 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::InsulatedFloorSurfaceArea, insulatedFloorSurfaceArea); | |
| 723 | 62 | return result; | |
| 724 | } | ||
| 725 | |||
| 726 | 62 | bool RefrigerationWalkIn_Impl::setInsulatedFloorUValue(double insulatedFloorUValue) { | |
| 727 | 62 | bool result = setDouble(OS_Refrigeration_WalkInFields::InsulatedFloorUValue, insulatedFloorUValue); | |
| 728 | 62 | return result; | |
| 729 | } | ||
| 730 | |||
| 731 | ✗ | void RefrigerationWalkIn_Impl::resetInsulatedFloorUValue() { | |
| 732 | ✗ | bool result = setString(OS_Refrigeration_WalkInFields::InsulatedFloorUValue, ""); | |
| 733 | ✗ | OS_ASSERT(result); | |
| 734 | ✗ | } | |
| 735 | |||
| 736 | 2 | bool RefrigerationWalkIn_Impl::setWalkinDefrostCycleParameters(const RefrigerationDefrostCycleParameters& walkinDefrostCycleParameters) { | |
| 737 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
|
2 | return setPointer(OS_Refrigeration_WalkInFields::WalkInDefrostCycleParametersName, walkinDefrostCycleParameters.handle()); |
| 738 | } | ||
| 739 | |||
| 740 | 2 | bool RefrigerationWalkIn_Impl::setDurationofDefrostCycle(boost::optional<int> durationofDefrostCycle) { | |
| 741 |
2/2✓ Branch 1 taken 2 times.
✓ Branch 6 taken 2 times.
|
4 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDurationofDefrostCycle( |
| 742 | 4 | durationofDefrostCycle); | |
| 743 | } | ||
| 744 | |||
| 745 | ✗ | void RefrigerationWalkIn_Impl::resetDurationofDefrostCycle() { | |
| 746 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 747 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDurationofDefrostCycle(); | |
| 748 | ✗ | } | |
| 749 | ✗ | } | |
| 750 | |||
| 751 | 1 | bool RefrigerationWalkIn_Impl::setDripDownTime(boost::optional<int> dripDownTime) { | |
| 752 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDripDownTime(dripDownTime); |
| 753 | } | ||
| 754 | |||
| 755 | ✗ | void RefrigerationWalkIn_Impl::resetDripDownTime() { | |
| 756 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 757 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDripDownTime(); | |
| 758 | ✗ | } | |
| 759 | ✗ | } | |
| 760 | |||
| 761 | 1 | bool RefrigerationWalkIn_Impl::setDefrost1StartTime(const openstudio::Time& defrost1StartTime) { | |
| 762 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost1StartTime(defrost1StartTime); |
| 763 | } | ||
| 764 | |||
| 765 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost1StartTime() { | |
| 766 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 767 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost1StartTime(); | |
| 768 | ✗ | } | |
| 769 | ✗ | } | |
| 770 | |||
| 771 | 1 | bool RefrigerationWalkIn_Impl::setDefrost2StartTime(const openstudio::Time& defrost2StartTime) { | |
| 772 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost2StartTime(defrost2StartTime); |
| 773 | } | ||
| 774 | |||
| 775 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost2StartTime() { | |
| 776 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 777 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost2StartTime(); | |
| 778 | ✗ | } | |
| 779 | ✗ | } | |
| 780 | |||
| 781 | 1 | bool RefrigerationWalkIn_Impl::setDefrost3StartTime(const openstudio::Time& defrost3StartTime) { | |
| 782 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost3StartTime(defrost3StartTime); |
| 783 | } | ||
| 784 | |||
| 785 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost3StartTime() { | |
| 786 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 787 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost3StartTime(); | |
| 788 | ✗ | } | |
| 789 | ✗ | } | |
| 790 | |||
| 791 | 1 | bool RefrigerationWalkIn_Impl::setDefrost4StartTime(const openstudio::Time& defrost4StartTime) { | |
| 792 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost4StartTime(defrost4StartTime); |
| 793 | } | ||
| 794 | |||
| 795 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost4StartTime() { | |
| 796 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 797 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost4StartTime(); | |
| 798 | ✗ | } | |
| 799 | ✗ | } | |
| 800 | |||
| 801 | 1 | bool RefrigerationWalkIn_Impl::setDefrost5StartTime(const openstudio::Time& defrost5StartTime) { | |
| 802 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost5StartTime(defrost5StartTime); |
| 803 | } | ||
| 804 | |||
| 805 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost5StartTime() { | |
| 806 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 807 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost5StartTime(); | |
| 808 | ✗ | } | |
| 809 | ✗ | } | |
| 810 | |||
| 811 | 1 | bool RefrigerationWalkIn_Impl::setDefrost6StartTime(const openstudio::Time& defrost6StartTime) { | |
| 812 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost6StartTime(defrost6StartTime); |
| 813 | } | ||
| 814 | |||
| 815 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost6StartTime() { | |
| 816 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 817 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost6StartTime(); | |
| 818 | ✗ | } | |
| 819 | ✗ | } | |
| 820 | |||
| 821 | 1 | bool RefrigerationWalkIn_Impl::setDefrost7StartTime(const openstudio::Time& defrost7StartTime) { | |
| 822 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost7StartTime(defrost7StartTime); |
| 823 | } | ||
| 824 | |||
| 825 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost7StartTime() { | |
| 826 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 827 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost7StartTime(); | |
| 828 | ✗ | } | |
| 829 | ✗ | } | |
| 830 | |||
| 831 | 1 | bool RefrigerationWalkIn_Impl::setDefrost8StartTime(const openstudio::Time& defrost8StartTime) { | |
| 832 |
2/2✓ Branch 1 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return this->walkinDefrostCycleParameters().getImpl<RefrigerationDefrostCycleParameters_Impl>()->setDefrost8StartTime(defrost8StartTime); |
| 833 | } | ||
| 834 | |||
| 835 | ✗ | void RefrigerationWalkIn_Impl::resetDefrost8StartTime() { | |
| 836 | ✗ | if (boost::optional<RefrigerationDefrostCycleParameters> defrostCycleParameters = this->optionalWalkinDefrostCycleParameters()) { | |
| 837 | ✗ | defrostCycleParameters->getImpl<RefrigerationDefrostCycleParameters_Impl>()->resetDefrost8StartTime(); | |
| 838 | ✗ | } | |
| 839 | ✗ | } | |
| 840 | |||
| 841 | 9 | boost::optional<Schedule> RefrigerationWalkIn_Impl::optionalDefrostSchedule() const { | |
| 842 |
2/2✓ Branch 1 taken 9 times.
✓ Branch 4 taken 9 times.
|
9 | return getObject<ModelObject>().getModelObjectTarget<Schedule>(OS_Refrigeration_WalkInFields::DefrostScheduleName); |
| 843 | } | ||
| 844 | |||
| 845 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryThermalZone(const ThermalZone& zoneBoundaryThermalZone) { | |
| 846 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 847 | ✗ | return zoneBoundary.setThermalZone(zoneBoundaryThermalZone); | |
| 848 | ✗ | } | |
| 849 | |||
| 850 | ✗ | void RefrigerationWalkIn_Impl::resetZoneBoundaryThermalZone() { | |
| 851 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 852 | ✗ | zoneBoundary.resetThermalZone(); | |
| 853 | ✗ | } | |
| 854 | |||
| 855 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryTotalInsulatedSurfaceAreaFacingZone(double zoneBoundaryTotalInsulatedSurfaceAreaFacingZone) { | |
| 856 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 857 | ✗ | return zoneBoundary.setTotalInsulatedSurfaceAreaFacingZone(zoneBoundaryTotalInsulatedSurfaceAreaFacingZone); | |
| 858 | ✗ | } | |
| 859 | |||
| 860 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryAreaofGlassReachInDoorsFacingZone(double zoneBoundaryAreaofGlassReachInDoorsFacingZone) { | |
| 861 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 862 | ✗ | return zoneBoundary.setAreaofGlassReachInDoorsFacingZone(zoneBoundaryAreaofGlassReachInDoorsFacingZone); | |
| 863 | ✗ | } | |
| 864 | |||
| 865 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryHeightofGlassReachInDoorsFacingZone(double zoneBoundaryHeightofGlassReachInDoorsFacingZone) { | |
| 866 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 867 | ✗ | return zoneBoundary.setHeightofGlassReachInDoorsFacingZone(zoneBoundaryHeightofGlassReachInDoorsFacingZone); | |
| 868 | ✗ | } | |
| 869 | |||
| 870 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryAreaofStockingDoorsFacingZone(double zoneBoundaryAreaofStockingDoorsFacingZone) { | |
| 871 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 872 | ✗ | return zoneBoundary.setAreaofStockingDoorsFacingZone(zoneBoundaryAreaofStockingDoorsFacingZone); | |
| 873 | ✗ | } | |
| 874 | |||
| 875 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryHeightofStockingDoorsFacingZone(double zoneBoundaryHeightofStockingDoorsFacingZone) { | |
| 876 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 877 | ✗ | return zoneBoundary.setHeightofStockingDoorsFacingZone(zoneBoundaryHeightofStockingDoorsFacingZone); | |
| 878 | ✗ | } | |
| 879 | |||
| 880 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryInsulatedSurfaceUValueFacingZone(double zoneBoundaryInsulatedSurfaceUValueFacingZone) { | |
| 881 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 882 | ✗ | return zoneBoundary.setInsulatedSurfaceUValueFacingZone(zoneBoundaryInsulatedSurfaceUValueFacingZone); | |
| 883 | ✗ | } | |
| 884 | |||
| 885 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryGlassReachInDoorUValueFacingZone(double zoneBoundaryGlassReachInDoorUValueFacingZone) { | |
| 886 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 887 | ✗ | return zoneBoundary.setGlassReachInDoorUValueFacingZone(zoneBoundaryGlassReachInDoorUValueFacingZone); | |
| 888 | ✗ | } | |
| 889 | |||
| 890 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryStockingDoorUValueFacingZone(double zoneBoundaryStockingDoorUValueFacingZone) { | |
| 891 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 892 | ✗ | return zoneBoundary.setStockingDoorUValueFacingZone(zoneBoundaryStockingDoorUValueFacingZone); | |
| 893 | ✗ | } | |
| 894 | |||
| 895 | ✗ | bool RefrigerationWalkIn_Impl::setZoneBoundaryStockingDoorOpeningScheduleFacingZone(Schedule& zoneBoundaryStockingDoorOpeningScheduleFacingZone) { | |
| 896 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 897 | ✗ | return zoneBoundary.setStockingDoorOpeningScheduleFacingZone(zoneBoundaryStockingDoorOpeningScheduleFacingZone); | |
| 898 | ✗ | } | |
| 899 | |||
| 900 | ✗ | void RefrigerationWalkIn_Impl::resetZoneBoundaryStockingDoorOpeningScheduleFacingZone() { | |
| 901 | ✗ | RefrigerationWalkInZoneBoundary zoneBoundary = frontZoneBoundary(); | |
| 902 | ✗ | zoneBoundary.resetStockingDoorOpeningScheduleFacingZone(); | |
| 903 | ✗ | } | |
| 904 | |||
| 905 | ✗ | RefrigerationWalkInZoneBoundary RefrigerationWalkIn_Impl::frontZoneBoundary() { | |
| 906 | ✗ | if (zoneBoundaries().empty()) { | |
| 907 | ✗ | RefrigerationWalkInZoneBoundary refrigerationWalkInZoneBoundary(model()); | |
| 908 | ✗ | bool success = addZoneBoundary(refrigerationWalkInZoneBoundary); | |
| 909 | ✗ | OS_ASSERT(success); | |
| 910 | ✗ | } | |
| 911 | ✗ | return zoneBoundaries().front(); | |
| 912 | } | ||
| 913 | |||
| 914 | ✗ | boost::optional<RefrigerationWalkInZoneBoundary> RefrigerationWalkIn_Impl::zoneBoundary() const { | |
| 915 | ✗ | if (!zoneBoundaries().empty()) { | |
| 916 | ✗ | return zoneBoundaries().front(); | |
| 917 | } else { | ||
| 918 | ✗ | return boost::none; | |
| 919 | } | ||
| 920 | } | ||
| 921 | |||
| 922 | ✗ | bool RefrigerationWalkIn_Impl::addToSystem(RefrigerationSystem& system) { | |
| 923 | ✗ | return system.addWalkin(this->getObject<RefrigerationWalkIn>()); | |
| 924 | } | ||
| 925 | |||
| 926 | 6 | void RefrigerationWalkIn_Impl::removeFromSystem() { | |
| 927 |
1/1✓ Branch 1 taken 6 times.
|
6 | boost::optional<RefrigerationSystem> refrigerationSystem = system(); |
| 928 |
2/2✓ Branch 0 taken 2 times.
✓ Branch 1 taken 4 times.
|
6 | if (refrigerationSystem) { |
| 929 |
3/3✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
|
2 | refrigerationSystem.get().removeWalkin(this->getObject<RefrigerationWalkIn>()); |
| 930 | } | ||
| 931 | 6 | } | |
| 932 | |||
| 933 | ✗ | bool RefrigerationWalkIn_Impl::addToSecondarySystem(RefrigerationSecondarySystem& secondarySystem) { | |
| 934 | ✗ | return secondarySystem.addWalkin(this->getObject<RefrigerationWalkIn>()); | |
| 935 | } | ||
| 936 | |||
| 937 | ✗ | void RefrigerationWalkIn_Impl::removeFromSecondarySystem() { | |
| 938 | ✗ | boost::optional<RefrigerationSecondarySystem> refrigerationSecondarySystem = secondarySystem(); | |
| 939 | ✗ | if (refrigerationSecondarySystem) { | |
| 940 | ✗ | refrigerationSecondarySystem.get().removeWalkin(this->getObject<RefrigerationWalkIn>()); | |
| 941 | } | ||
| 942 | ✗ | } | |
| 943 | |||
| 944 | ✗ | bool RefrigerationWalkIn_Impl::addToCompressorRack(RefrigerationCompressorRack& compressorRack) { | |
| 945 | ✗ | return compressorRack.addWalkin(this->getObject<RefrigerationWalkIn>()); | |
| 946 | } | ||
| 947 | |||
| 948 | ✗ | void RefrigerationWalkIn_Impl::removeFromCompressorRack() { | |
| 949 | ✗ | boost::optional<RefrigerationCompressorRack> refrigerationCompressorRack = compressorRack(); | |
| 950 | ✗ | if (refrigerationCompressorRack) { | |
| 951 | ✗ | refrigerationCompressorRack.get().removeWalkin(this->getObject<RefrigerationWalkIn>()); | |
| 952 | } | ||
| 953 | ✗ | } | |
| 954 | |||
| 955 | } // namespace detail | ||
| 956 | |||
| 957 | 61 | RefrigerationWalkIn::RefrigerationWalkIn(const Model& model, Schedule& walkinDefrostSchedule) | |
| 958 | 61 | : ModelObject(RefrigerationWalkIn::iddObjectType(), model) { | |
| 959 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 61 times.
✗ Branch 5 not taken.
|
61 | OS_ASSERT(getImpl<detail::RefrigerationWalkIn_Impl>()); |
| 960 | |||
| 961 |
1/1✓ Branch 1 taken 61 times.
|
61 | setRatedCoilCoolingCapacity(4690.0); |
| 962 |
1/1✓ Branch 1 taken 61 times.
|
61 | bool ok = setOperatingTemperature(-2.22); |
| 963 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 964 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setRatedCoolingSourceTemperature(-6.67); |
| 965 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 966 |
1/1✓ Branch 1 taken 61 times.
|
61 | setRatedTotalHeatingPower(0.0); |
| 967 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setRatedCoolingCoilFanPower(735.0); |
| 968 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 969 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setRatedCirculationFanPower(0.0); |
| 970 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 971 |
1/1✓ Branch 1 taken 61 times.
|
61 | setRatedTotalLightingPower(120.0); |
| 972 |
2/2✓ Branch 1 taken 61 times.
✓ Branch 4 taken 61 times.
|
61 | ok = setDefrostType("Electric"); |
| 973 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 974 |
2/2✓ Branch 1 taken 61 times.
✓ Branch 4 taken 61 times.
|
61 | ok = setDefrostControlType("TimeSchedule"); |
| 975 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 976 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setDefrostSchedule(walkinDefrostSchedule); |
| 977 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 978 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setDefrostPower(5512.0); |
| 979 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 980 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setInsulatedFloorSurfaceArea(13.0); |
| 981 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 982 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = setInsulatedFloorUValue(0.207); |
| 983 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 984 |
1/1✓ Branch 1 taken 61 times.
|
61 | RefrigerationWalkInZoneBoundary zoneBoundary = RefrigerationWalkInZoneBoundary(model); |
| 985 |
1/1✓ Branch 1 taken 61 times.
|
61 | ok = addZoneBoundary(zoneBoundary); |
| 986 |
1/3✗ Branch 0 not taken.
✓ Branch 1 taken 61 times.
✗ Branch 3 not taken.
|
61 | OS_ASSERT(ok); |
| 987 | 61 | } | |
| 988 | |||
| 989 | 7881 | IddObjectType RefrigerationWalkIn::iddObjectType() { | |
| 990 |
1/1✓ Branch 1 taken 7881 times.
|
7881 | return {IddObjectType::OS_Refrigeration_WalkIn}; |
| 991 | } | ||
| 992 | |||
| 993 | ✗ | std::vector<std::string> RefrigerationWalkIn::defrostTypeValues() { | |
| 994 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_WalkInFields::DefrostType); | |
| 995 | } | ||
| 996 | |||
| 997 | ✗ | std::vector<std::string> RefrigerationWalkIn::defrostControlTypeValues() { | |
| 998 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Refrigeration_WalkInFields::DefrostControlType); | |
| 999 | } | ||
| 1000 | |||
| 1001 | 78 | bool RefrigerationWalkIn::addZoneBoundary(const RefrigerationWalkInZoneBoundary& refrigerationWalkInZoneBoundary) { | |
| 1002 |
1/1✓ Branch 3 taken 78 times.
|
78 | return getImpl<detail::RefrigerationWalkIn_Impl>()->addZoneBoundary(refrigerationWalkInZoneBoundary); |
| 1003 | } | ||
| 1004 | |||
| 1005 | 1 | void RefrigerationWalkIn::removeZoneBoundary(unsigned index) { | |
| 1006 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->removeZoneBoundary(index); |
| 1007 | } | ||
| 1008 | |||
| 1009 | 16 | void RefrigerationWalkIn::removeAllZoneBoundaries() { | |
| 1010 |
1/1✓ Branch 3 taken 16 times.
|
16 | return getImpl<detail::RefrigerationWalkIn_Impl>()->removeAllZoneBoundaries(); |
| 1011 | } | ||
| 1012 | |||
| 1013 | 9 | std::vector<RefrigerationWalkInZoneBoundary> RefrigerationWalkIn::zoneBoundaries() const { | |
| 1014 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaries(); |
| 1015 | } | ||
| 1016 | |||
| 1017 | ✗ | boost::optional<Schedule> RefrigerationWalkIn::availabilitySchedule() const { | |
| 1018 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->availabilitySchedule(); | |
| 1019 | } | ||
| 1020 | |||
| 1021 | 3 | double RefrigerationWalkIn::ratedCoilCoolingCapacity() const { | |
| 1022 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->ratedCoilCoolingCapacity(); |
| 1023 | } | ||
| 1024 | |||
| 1025 | 3 | double RefrigerationWalkIn::operatingTemperature() const { | |
| 1026 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->operatingTemperature(); |
| 1027 | } | ||
| 1028 | |||
| 1029 | 3 | double RefrigerationWalkIn::ratedCoolingSourceTemperature() const { | |
| 1030 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->ratedCoolingSourceTemperature(); |
| 1031 | } | ||
| 1032 | |||
| 1033 | 3 | double RefrigerationWalkIn::ratedTotalHeatingPower() const { | |
| 1034 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->ratedTotalHeatingPower(); |
| 1035 | } | ||
| 1036 | |||
| 1037 | ✗ | boost::optional<Schedule> RefrigerationWalkIn::heatingPowerSchedule() const { | |
| 1038 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->heatingPowerSchedule(); | |
| 1039 | } | ||
| 1040 | |||
| 1041 | 3 | double RefrigerationWalkIn::ratedCoolingCoilFanPower() const { | |
| 1042 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->ratedCoolingCoilFanPower(); |
| 1043 | } | ||
| 1044 | |||
| 1045 | ✗ | bool RefrigerationWalkIn::isRatedCoolingCoilFanPowerDefaulted() const { | |
| 1046 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->isRatedCoolingCoilFanPowerDefaulted(); | |
| 1047 | } | ||
| 1048 | |||
| 1049 | 3 | double RefrigerationWalkIn::ratedCirculationFanPower() const { | |
| 1050 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->ratedCirculationFanPower(); |
| 1051 | } | ||
| 1052 | |||
| 1053 | ✗ | bool RefrigerationWalkIn::isRatedCirculationFanPowerDefaulted() const { | |
| 1054 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->isRatedCirculationFanPowerDefaulted(); | |
| 1055 | } | ||
| 1056 | |||
| 1057 | 3 | double RefrigerationWalkIn::ratedTotalLightingPower() const { | |
| 1058 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->ratedTotalLightingPower(); |
| 1059 | } | ||
| 1060 | |||
| 1061 | ✗ | boost::optional<Schedule> RefrigerationWalkIn::lightingSchedule() const { | |
| 1062 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->lightingSchedule(); | |
| 1063 | } | ||
| 1064 | |||
| 1065 | 3 | std::string RefrigerationWalkIn::defrostType() const { | |
| 1066 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrostType(); |
| 1067 | } | ||
| 1068 | |||
| 1069 | ✗ | bool RefrigerationWalkIn::isDefrostTypeDefaulted() const { | |
| 1070 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->isDefrostTypeDefaulted(); | |
| 1071 | } | ||
| 1072 | |||
| 1073 | 3 | std::string RefrigerationWalkIn::defrostControlType() const { | |
| 1074 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrostControlType(); |
| 1075 | } | ||
| 1076 | |||
| 1077 | ✗ | bool RefrigerationWalkIn::isDefrostControlTypeDefaulted() const { | |
| 1078 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->isDefrostControlTypeDefaulted(); | |
| 1079 | } | ||
| 1080 | |||
| 1081 | 9 | Schedule RefrigerationWalkIn::defrostSchedule() const { | |
| 1082 |
1/1✓ Branch 3 taken 9 times.
|
9 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrostSchedule(); |
| 1083 | } | ||
| 1084 | |||
| 1085 | 1 | boost::optional<Schedule> RefrigerationWalkIn::defrostDripDownSchedule() const { | |
| 1086 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrostDripDownSchedule(); |
| 1087 | } | ||
| 1088 | |||
| 1089 | 3 | boost::optional<double> RefrigerationWalkIn::defrostPower() const { | |
| 1090 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrostPower(); |
| 1091 | } | ||
| 1092 | |||
| 1093 | ✗ | boost::optional<double> RefrigerationWalkIn::temperatureTerminationDefrostFractiontoIce() const { | |
| 1094 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->temperatureTerminationDefrostFractiontoIce(); | |
| 1095 | } | ||
| 1096 | |||
| 1097 | ✗ | boost::optional<Schedule> RefrigerationWalkIn::restockingSchedule() const { | |
| 1098 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->restockingSchedule(); | |
| 1099 | } | ||
| 1100 | |||
| 1101 | ✗ | double RefrigerationWalkIn::averageRefrigerantChargeInventory() const { | |
| 1102 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->averageRefrigerantChargeInventory(); | |
| 1103 | } | ||
| 1104 | |||
| 1105 | ✗ | bool RefrigerationWalkIn::isAverageRefrigerantChargeInventoryDefaulted() const { | |
| 1106 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->isAverageRefrigerantChargeInventoryDefaulted(); | |
| 1107 | } | ||
| 1108 | |||
| 1109 | 3 | double RefrigerationWalkIn::insulatedFloorSurfaceArea() const { | |
| 1110 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->insulatedFloorSurfaceArea(); |
| 1111 | } | ||
| 1112 | |||
| 1113 | 3 | double RefrigerationWalkIn::insulatedFloorUValue() const { | |
| 1114 |
1/1✓ Branch 3 taken 3 times.
|
3 | return getImpl<detail::RefrigerationWalkIn_Impl>()->insulatedFloorUValue(); |
| 1115 | } | ||
| 1116 | |||
| 1117 | ✗ | bool RefrigerationWalkIn::isInsulatedFloorUValueDefaulted() const { | |
| 1118 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->isInsulatedFloorUValueDefaulted(); | |
| 1119 | } | ||
| 1120 | |||
| 1121 | 1 | boost::optional<int> RefrigerationWalkIn::durationofDefrostCycle() const { | |
| 1122 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->durationofDefrostCycle(); |
| 1123 | } | ||
| 1124 | |||
| 1125 | 1 | boost::optional<int> RefrigerationWalkIn::dripDownTime() const { | |
| 1126 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->dripDownTime(); |
| 1127 | } | ||
| 1128 | |||
| 1129 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost1StartTime() const { | |
| 1130 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost1StartTime(); |
| 1131 | } | ||
| 1132 | |||
| 1133 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost2StartTime() const { | |
| 1134 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost2StartTime(); |
| 1135 | } | ||
| 1136 | |||
| 1137 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost3StartTime() const { | |
| 1138 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost3StartTime(); |
| 1139 | } | ||
| 1140 | |||
| 1141 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost4StartTime() const { | |
| 1142 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost4StartTime(); |
| 1143 | } | ||
| 1144 | |||
| 1145 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost5StartTime() const { | |
| 1146 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost5StartTime(); |
| 1147 | } | ||
| 1148 | |||
| 1149 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost6StartTime() const { | |
| 1150 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost6StartTime(); |
| 1151 | } | ||
| 1152 | |||
| 1153 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost7StartTime() const { | |
| 1154 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost7StartTime(); |
| 1155 | } | ||
| 1156 | |||
| 1157 | 2 | boost::optional<openstudio::Time> RefrigerationWalkIn::defrost8StartTime() const { | |
| 1158 |
1/1✓ Branch 3 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->defrost8StartTime(); |
| 1159 | } | ||
| 1160 | |||
| 1161 | ✗ | boost::optional<ThermalZone> RefrigerationWalkIn::zoneBoundaryThermalZone() const { | |
| 1162 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryThermalZone(); | |
| 1163 | } | ||
| 1164 | |||
| 1165 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryTotalInsulatedSurfaceAreaFacingZone() const { | |
| 1166 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryTotalInsulatedSurfaceAreaFacingZone(); | |
| 1167 | } | ||
| 1168 | |||
| 1169 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryAreaofGlassReachInDoorsFacingZone() const { | |
| 1170 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryAreaofGlassReachInDoorsFacingZone(); | |
| 1171 | } | ||
| 1172 | |||
| 1173 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryHeightofGlassReachInDoorsFacingZone() const { | |
| 1174 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryHeightofGlassReachInDoorsFacingZone(); | |
| 1175 | } | ||
| 1176 | |||
| 1177 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryAreaofStockingDoorsFacingZone() const { | |
| 1178 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryAreaofStockingDoorsFacingZone(); | |
| 1179 | } | ||
| 1180 | |||
| 1181 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryHeightofStockingDoorsFacingZone() const { | |
| 1182 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryHeightofStockingDoorsFacingZone(); | |
| 1183 | } | ||
| 1184 | |||
| 1185 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryInsulatedSurfaceUValueFacingZone() const { | |
| 1186 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryInsulatedSurfaceUValueFacingZone(); | |
| 1187 | } | ||
| 1188 | |||
| 1189 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryGlassReachInDoorUValueFacingZone() const { | |
| 1190 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryGlassReachInDoorUValueFacingZone(); | |
| 1191 | } | ||
| 1192 | |||
| 1193 | ✗ | boost::optional<double> RefrigerationWalkIn::zoneBoundaryStockingDoorUValueFacingZone() const { | |
| 1194 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryStockingDoorUValueFacingZone(); | |
| 1195 | } | ||
| 1196 | |||
| 1197 | ✗ | boost::optional<Schedule> RefrigerationWalkIn::zoneBoundaryStockingDoorOpeningScheduleFacingZone() const { | |
| 1198 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->zoneBoundaryStockingDoorOpeningScheduleFacingZone(); | |
| 1199 | } | ||
| 1200 | |||
| 1201 | 17 | boost::optional<RefrigerationSystem> RefrigerationWalkIn::system() const { | |
| 1202 |
1/1✓ Branch 3 taken 17 times.
|
17 | return getImpl<detail::RefrigerationWalkIn_Impl>()->system(); |
| 1203 | } | ||
| 1204 | |||
| 1205 | 11 | boost::optional<RefrigerationSecondarySystem> RefrigerationWalkIn::secondarySystem() const { | |
| 1206 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::RefrigerationWalkIn_Impl>()->secondarySystem(); |
| 1207 | } | ||
| 1208 | |||
| 1209 | 1 | boost::optional<RefrigerationCompressorRack> RefrigerationWalkIn::compressorRack() const { | |
| 1210 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->compressorRack(); |
| 1211 | } | ||
| 1212 | |||
| 1213 | ✗ | bool RefrigerationWalkIn::setAvailabilitySchedule(Schedule& schedule) { | |
| 1214 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setAvailabilitySchedule(schedule); | |
| 1215 | } | ||
| 1216 | |||
| 1217 | ✗ | void RefrigerationWalkIn::resetAvailabilitySchedule() { | |
| 1218 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetAvailabilitySchedule(); | |
| 1219 | ✗ | } | |
| 1220 | |||
| 1221 | 62 | bool RefrigerationWalkIn::setRatedCoilCoolingCapacity(double ratedCoilCoolingCapacity) { | |
| 1222 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRatedCoilCoolingCapacity(ratedCoilCoolingCapacity); |
| 1223 | } | ||
| 1224 | |||
| 1225 | 62 | bool RefrigerationWalkIn::setOperatingTemperature(double operatingTemperature) { | |
| 1226 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setOperatingTemperature(operatingTemperature); |
| 1227 | } | ||
| 1228 | |||
| 1229 | 62 | bool RefrigerationWalkIn::setRatedCoolingSourceTemperature(double ratedCoolingSourceTemperature) { | |
| 1230 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRatedCoolingSourceTemperature(ratedCoolingSourceTemperature); |
| 1231 | } | ||
| 1232 | |||
| 1233 | 62 | bool RefrigerationWalkIn::setRatedTotalHeatingPower(double ratedTotalHeatingPower) { | |
| 1234 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRatedTotalHeatingPower(ratedTotalHeatingPower); |
| 1235 | } | ||
| 1236 | |||
| 1237 | ✗ | bool RefrigerationWalkIn::setHeatingPowerSchedule(Schedule& schedule) { | |
| 1238 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setHeatingPowerSchedule(schedule); | |
| 1239 | } | ||
| 1240 | |||
| 1241 | ✗ | void RefrigerationWalkIn::resetHeatingPowerSchedule() { | |
| 1242 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetHeatingPowerSchedule(); | |
| 1243 | ✗ | } | |
| 1244 | |||
| 1245 | 62 | bool RefrigerationWalkIn::setRatedCoolingCoilFanPower(double ratedCoolingCoilFanPower) { | |
| 1246 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRatedCoolingCoilFanPower(ratedCoolingCoilFanPower); |
| 1247 | } | ||
| 1248 | |||
| 1249 | ✗ | void RefrigerationWalkIn::resetRatedCoolingCoilFanPower() { | |
| 1250 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetRatedCoolingCoilFanPower(); | |
| 1251 | ✗ | } | |
| 1252 | |||
| 1253 | 62 | bool RefrigerationWalkIn::setRatedCirculationFanPower(double ratedCirculationFanPower) { | |
| 1254 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRatedCirculationFanPower(ratedCirculationFanPower); |
| 1255 | } | ||
| 1256 | |||
| 1257 | ✗ | void RefrigerationWalkIn::resetRatedCirculationFanPower() { | |
| 1258 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetRatedCirculationFanPower(); | |
| 1259 | ✗ | } | |
| 1260 | |||
| 1261 | 62 | bool RefrigerationWalkIn::setRatedTotalLightingPower(double ratedTotalLightingPower) { | |
| 1262 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRatedTotalLightingPower(ratedTotalLightingPower); |
| 1263 | } | ||
| 1264 | |||
| 1265 | ✗ | bool RefrigerationWalkIn::setLightingSchedule(Schedule& schedule) { | |
| 1266 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setLightingSchedule(schedule); | |
| 1267 | } | ||
| 1268 | |||
| 1269 | ✗ | void RefrigerationWalkIn::resetLightingSchedule() { | |
| 1270 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetLightingSchedule(); | |
| 1271 | ✗ | } | |
| 1272 | |||
| 1273 | 62 | bool RefrigerationWalkIn::setDefrostType(const std::string& defrostType) { | |
| 1274 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrostType(defrostType); |
| 1275 | } | ||
| 1276 | |||
| 1277 | ✗ | void RefrigerationWalkIn::resetDefrostType() { | |
| 1278 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrostType(); | |
| 1279 | ✗ | } | |
| 1280 | |||
| 1281 | 62 | bool RefrigerationWalkIn::setDefrostControlType(const std::string& defrostControlType) { | |
| 1282 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrostControlType(defrostControlType); |
| 1283 | } | ||
| 1284 | |||
| 1285 | ✗ | void RefrigerationWalkIn::resetDefrostControlType() { | |
| 1286 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrostControlType(); | |
| 1287 | ✗ | } | |
| 1288 | |||
| 1289 | 62 | bool RefrigerationWalkIn::setDefrostSchedule(Schedule& schedule) { | |
| 1290 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrostSchedule(schedule); |
| 1291 | } | ||
| 1292 | |||
| 1293 | 1 | bool RefrigerationWalkIn::setDefrostDripDownSchedule(Schedule& schedule) { | |
| 1294 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrostDripDownSchedule(schedule); |
| 1295 | } | ||
| 1296 | |||
| 1297 | ✗ | void RefrigerationWalkIn::resetDefrostDripDownSchedule() { | |
| 1298 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrostDripDownSchedule(); | |
| 1299 | ✗ | } | |
| 1300 | |||
| 1301 | 62 | bool RefrigerationWalkIn::setDefrostPower(double defrostPower) { | |
| 1302 |
2/2✓ Branch 3 taken 62 times.
✓ Branch 6 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrostPower(defrostPower); |
| 1303 | } | ||
| 1304 | |||
| 1305 | ✗ | void RefrigerationWalkIn::resetDefrostPower() { | |
| 1306 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrostPower(); | |
| 1307 | ✗ | } | |
| 1308 | |||
| 1309 | ✗ | bool RefrigerationWalkIn::setTemperatureTerminationDefrostFractiontoIce(double temperatureTerminationDefrostFractiontoIce) { | |
| 1310 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setTemperatureTerminationDefrostFractiontoIce(temperatureTerminationDefrostFractiontoIce); | |
| 1311 | } | ||
| 1312 | |||
| 1313 | ✗ | void RefrigerationWalkIn::resetTemperatureTerminationDefrostFractiontoIce() { | |
| 1314 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetTemperatureTerminationDefrostFractiontoIce(); | |
| 1315 | ✗ | } | |
| 1316 | |||
| 1317 | ✗ | bool RefrigerationWalkIn::setRestockingSchedule(Schedule& schedule) { | |
| 1318 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setRestockingSchedule(schedule); | |
| 1319 | } | ||
| 1320 | |||
| 1321 | ✗ | void RefrigerationWalkIn::resetRestockingSchedule() { | |
| 1322 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetRestockingSchedule(); | |
| 1323 | ✗ | } | |
| 1324 | |||
| 1325 | ✗ | bool RefrigerationWalkIn::setAverageRefrigerantChargeInventory(double averageRefrigerantChargeInventory) { | |
| 1326 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setAverageRefrigerantChargeInventory(averageRefrigerantChargeInventory); | |
| 1327 | } | ||
| 1328 | |||
| 1329 | ✗ | void RefrigerationWalkIn::resetAverageRefrigerantChargeInventory() { | |
| 1330 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetAverageRefrigerantChargeInventory(); | |
| 1331 | ✗ | } | |
| 1332 | |||
| 1333 | 62 | bool RefrigerationWalkIn::setInsulatedFloorSurfaceArea(double insulatedFloorSurfaceArea) { | |
| 1334 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setInsulatedFloorSurfaceArea(insulatedFloorSurfaceArea); |
| 1335 | } | ||
| 1336 | |||
| 1337 | 62 | bool RefrigerationWalkIn::setInsulatedFloorUValue(double insulatedFloorUValue) { | |
| 1338 |
1/1✓ Branch 3 taken 62 times.
|
62 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setInsulatedFloorUValue(insulatedFloorUValue); |
| 1339 | } | ||
| 1340 | |||
| 1341 | ✗ | void RefrigerationWalkIn::resetInsulatedFloorUValue() { | |
| 1342 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetInsulatedFloorUValue(); | |
| 1343 | ✗ | } | |
| 1344 | |||
| 1345 | 2 | bool RefrigerationWalkIn::setDurationofDefrostCycle(int durationofDefrostCycle) { | |
| 1346 |
2/2✓ Branch 3 taken 2 times.
✓ Branch 6 taken 2 times.
|
2 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDurationofDefrostCycle(durationofDefrostCycle); |
| 1347 | } | ||
| 1348 | |||
| 1349 | ✗ | void RefrigerationWalkIn::resetDurationofDefrostCycle() { | |
| 1350 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDurationofDefrostCycle(); | |
| 1351 | ✗ | } | |
| 1352 | |||
| 1353 | 1 | bool RefrigerationWalkIn::setDripDownTime(int dripDownTime) { | |
| 1354 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDripDownTime(dripDownTime); |
| 1355 | } | ||
| 1356 | |||
| 1357 | ✗ | void RefrigerationWalkIn::resetDripDownTime() { | |
| 1358 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDripDownTime(); | |
| 1359 | ✗ | } | |
| 1360 | |||
| 1361 | 1 | bool RefrigerationWalkIn::setDefrost1StartTime(const openstudio::Time& defrost1StartTime) { | |
| 1362 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost1StartTime(defrost1StartTime); |
| 1363 | } | ||
| 1364 | |||
| 1365 | ✗ | void RefrigerationWalkIn::resetDefrost1StartTime() { | |
| 1366 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost1StartTime(); | |
| 1367 | ✗ | } | |
| 1368 | |||
| 1369 | 1 | bool RefrigerationWalkIn::setDefrost2StartTime(const openstudio::Time& defrost2StartTime) { | |
| 1370 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost2StartTime(defrost2StartTime); |
| 1371 | } | ||
| 1372 | |||
| 1373 | ✗ | void RefrigerationWalkIn::resetDefrost2StartTime() { | |
| 1374 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost2StartTime(); | |
| 1375 | ✗ | } | |
| 1376 | |||
| 1377 | 1 | bool RefrigerationWalkIn::setDefrost3StartTime(const openstudio::Time& defrost3StartTime) { | |
| 1378 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost3StartTime(defrost3StartTime); |
| 1379 | } | ||
| 1380 | |||
| 1381 | ✗ | void RefrigerationWalkIn::resetDefrost3StartTime() { | |
| 1382 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost3StartTime(); | |
| 1383 | ✗ | } | |
| 1384 | |||
| 1385 | 1 | bool RefrigerationWalkIn::setDefrost4StartTime(const openstudio::Time& defrost4StartTime) { | |
| 1386 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost4StartTime(defrost4StartTime); |
| 1387 | } | ||
| 1388 | |||
| 1389 | ✗ | void RefrigerationWalkIn::resetDefrost4StartTime() { | |
| 1390 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost4StartTime(); | |
| 1391 | ✗ | } | |
| 1392 | |||
| 1393 | 1 | bool RefrigerationWalkIn::setDefrost5StartTime(const openstudio::Time& defrost5StartTime) { | |
| 1394 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost5StartTime(defrost5StartTime); |
| 1395 | } | ||
| 1396 | |||
| 1397 | ✗ | void RefrigerationWalkIn::resetDefrost5StartTime() { | |
| 1398 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost5StartTime(); | |
| 1399 | ✗ | } | |
| 1400 | |||
| 1401 | 1 | bool RefrigerationWalkIn::setDefrost6StartTime(const openstudio::Time& defrost6StartTime) { | |
| 1402 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost6StartTime(defrost6StartTime); |
| 1403 | } | ||
| 1404 | |||
| 1405 | ✗ | void RefrigerationWalkIn::resetDefrost6StartTime() { | |
| 1406 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost6StartTime(); | |
| 1407 | ✗ | } | |
| 1408 | |||
| 1409 | 1 | bool RefrigerationWalkIn::setDefrost7StartTime(const openstudio::Time& defrost7StartTime) { | |
| 1410 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost7StartTime(defrost7StartTime); |
| 1411 | } | ||
| 1412 | |||
| 1413 | ✗ | void RefrigerationWalkIn::resetDefrost7StartTime() { | |
| 1414 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost7StartTime(); | |
| 1415 | ✗ | } | |
| 1416 | |||
| 1417 | 1 | bool RefrigerationWalkIn::setDefrost8StartTime(const openstudio::Time& defrost8StartTime) { | |
| 1418 |
1/1✓ Branch 3 taken 1 time.
|
1 | return getImpl<detail::RefrigerationWalkIn_Impl>()->setDefrost8StartTime(defrost8StartTime); |
| 1419 | } | ||
| 1420 | |||
| 1421 | ✗ | void RefrigerationWalkIn::resetDefrost8StartTime() { | |
| 1422 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetDefrost8StartTime(); | |
| 1423 | ✗ | } | |
| 1424 | |||
| 1425 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryThermalZone(const ThermalZone& zoneBoundaryThermalZone) { | |
| 1426 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryThermalZone(zoneBoundaryThermalZone); | |
| 1427 | } | ||
| 1428 | |||
| 1429 | ✗ | void RefrigerationWalkIn::resetZoneBoundaryThermalZone() { | |
| 1430 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetZoneBoundaryThermalZone(); | |
| 1431 | ✗ | } | |
| 1432 | |||
| 1433 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryTotalInsulatedSurfaceAreaFacingZone(double zoneBoundaryTotalInsulatedSurfaceAreaFacingZone) { | |
| 1434 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryTotalInsulatedSurfaceAreaFacingZone( | |
| 1435 | ✗ | zoneBoundaryTotalInsulatedSurfaceAreaFacingZone); | |
| 1436 | } | ||
| 1437 | |||
| 1438 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryAreaofGlassReachInDoorsFacingZone(double zoneBoundaryAreaofGlassReachInDoorsFacingZone) { | |
| 1439 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryAreaofGlassReachInDoorsFacingZone( | |
| 1440 | ✗ | zoneBoundaryAreaofGlassReachInDoorsFacingZone); | |
| 1441 | } | ||
| 1442 | |||
| 1443 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryHeightofGlassReachInDoorsFacingZone(double zoneBoundaryHeightofGlassReachInDoorsFacingZone) { | |
| 1444 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryHeightofGlassReachInDoorsFacingZone( | |
| 1445 | ✗ | zoneBoundaryHeightofGlassReachInDoorsFacingZone); | |
| 1446 | } | ||
| 1447 | |||
| 1448 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryAreaofStockingDoorsFacingZone(double zoneBoundaryAreaofStockingDoorsFacingZone) { | |
| 1449 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryAreaofStockingDoorsFacingZone(zoneBoundaryAreaofStockingDoorsFacingZone); | |
| 1450 | } | ||
| 1451 | |||
| 1452 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryHeightofStockingDoorsFacingZone(double zoneBoundaryHeightofStockingDoorsFacingZone) { | |
| 1453 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryHeightofStockingDoorsFacingZone(zoneBoundaryHeightofStockingDoorsFacingZone); | |
| 1454 | } | ||
| 1455 | |||
| 1456 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryInsulatedSurfaceUValueFacingZone(double zoneBoundaryInsulatedSurfaceUValueFacingZone) { | |
| 1457 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryInsulatedSurfaceUValueFacingZone(zoneBoundaryInsulatedSurfaceUValueFacingZone); | |
| 1458 | } | ||
| 1459 | |||
| 1460 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryGlassReachInDoorUValueFacingZone(double zoneBoundaryGlassReachInDoorUValueFacingZone) { | |
| 1461 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryGlassReachInDoorUValueFacingZone(zoneBoundaryGlassReachInDoorUValueFacingZone); | |
| 1462 | } | ||
| 1463 | |||
| 1464 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryStockingDoorUValueFacingZone(double zoneBoundaryStockingDoorUValueFacingZone) { | |
| 1465 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryStockingDoorUValueFacingZone(zoneBoundaryStockingDoorUValueFacingZone); | |
| 1466 | } | ||
| 1467 | |||
| 1468 | ✗ | bool RefrigerationWalkIn::setZoneBoundaryStockingDoorOpeningScheduleFacingZone(Schedule& zoneBoundaryStockingDoorOpeningScheduleFacingZone) { | |
| 1469 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->setZoneBoundaryStockingDoorOpeningScheduleFacingZone( | |
| 1470 | ✗ | zoneBoundaryStockingDoorOpeningScheduleFacingZone); | |
| 1471 | } | ||
| 1472 | |||
| 1473 | ✗ | void RefrigerationWalkIn::resetZoneBoundaryStockingDoorOpeningScheduleFacingZone() { | |
| 1474 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->resetZoneBoundaryStockingDoorOpeningScheduleFacingZone(); | |
| 1475 | ✗ | } | |
| 1476 | |||
| 1477 | ✗ | bool RefrigerationWalkIn::addToSystem(RefrigerationSystem& system) { | |
| 1478 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->addToSystem(system); | |
| 1479 | } | ||
| 1480 | |||
| 1481 | ✗ | void RefrigerationWalkIn::removeFromSystem() { | |
| 1482 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->removeFromSystem(); | |
| 1483 | ✗ | } | |
| 1484 | |||
| 1485 | ✗ | bool RefrigerationWalkIn::addToSecondarySystem(RefrigerationSecondarySystem& secondarySystem) { | |
| 1486 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->addToSecondarySystem(secondarySystem); | |
| 1487 | } | ||
| 1488 | |||
| 1489 | ✗ | void RefrigerationWalkIn::removeFromSecondarySystem() { | |
| 1490 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->removeFromSecondarySystem(); | |
| 1491 | ✗ | } | |
| 1492 | |||
| 1493 | ✗ | bool RefrigerationWalkIn::addToCompressorRack(RefrigerationCompressorRack& compressorRack) { | |
| 1494 | ✗ | return getImpl<detail::RefrigerationWalkIn_Impl>()->addToCompressorRack(compressorRack); | |
| 1495 | } | ||
| 1496 | |||
| 1497 | ✗ | void RefrigerationWalkIn::removeFromCompressorRack() { | |
| 1498 | ✗ | getImpl<detail::RefrigerationWalkIn_Impl>()->removeFromCompressorRack(); | |
| 1499 | ✗ | } | |
| 1500 | |||
| 1501 | /// @cond | ||
| 1502 |
1/1✓ Branch 3 taken 177 times.
|
177 | RefrigerationWalkIn::RefrigerationWalkIn(std::shared_ptr<detail::RefrigerationWalkIn_Impl> impl) : ModelObject(std::move(impl)) {} |
| 1503 | /// @endcond | ||
| 1504 | |||
| 1505 | } // namespace model | ||
| 1506 | } // namespace openstudio | ||
| 1507 |