src/energyplus/ForwardTranslator/ForwardTranslateHeatExchangerDesiccantBalancedFlowPerformanceDataType1.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 "../ForwardTranslator.hpp" | ||
| 7 | #include "../../model/Model.hpp" | ||
| 8 | |||
| 9 | #include "../../model/HeatExchangerDesiccantBalancedFlowPerformanceDataType1.hpp" | ||
| 10 | |||
| 11 | #include <utilities/idd/HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1_FieldEnums.hxx> | ||
| 12 | // #include "../../utilities/idd/IddEnums.hpp" | ||
| 13 | #include <utilities/idd/IddEnums.hxx> | ||
| 14 | |||
| 15 | using namespace openstudio::model; | ||
| 16 | |||
| 17 | namespace openstudio { | ||
| 18 | |||
| 19 | namespace energyplus { | ||
| 20 | |||
| 21 | 3 | boost::optional<IdfObject> ForwardTranslator::translateHeatExchangerDesiccantBalancedFlowPerformanceDataType1( | |
| 22 | model::HeatExchangerDesiccantBalancedFlowPerformanceDataType1& modelObject) { | ||
| 23 | 3 | boost::optional<std::string> s; | |
| 24 | 3 | boost::optional<double> d; | |
| 25 | |||
| 26 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | IdfObject idfObject(openstudio::IddObjectType::HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1); |
| 27 | |||
| 28 |
1/1✓ Branch 1 taken 3 times.
|
3 | m_idfObjects.push_back(idfObject); |
| 29 | |||
| 30 | // Name | ||
| 31 |
3/3✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
✓ Branch 7 taken 3 times.
|
3 | idfObject.setString(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::Name, modelObject.name().get()); |
| 32 | |||
| 33 | // NominalAirFlowRate | ||
| 34 |
2/3✓ Branch 1 taken 3 times.
✓ Branch 3 taken 3 times.
✗ Branch 4 not taken.
|
3 | if (modelObject.isNominalAirFlowRateAutosized()) { |
| 35 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | idfObject.setString(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::NominalAirFlowRate, "Autosize"); |
| 36 | } else { | ||
| 37 | ✗ | d = modelObject.nominalAirFlowRate(); | |
| 38 | ✗ | if (d) { | |
| 39 | ✗ | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::NominalAirFlowRate, d.get()); | |
| 40 | } | ||
| 41 | } | ||
| 42 | |||
| 43 | // NominalAirFaceVelocity | ||
| 44 |
2/3✓ Branch 1 taken 3 times.
✓ Branch 3 taken 3 times.
✗ Branch 4 not taken.
|
3 | if (modelObject.isNominalAirFaceVelocityAutosized()) { |
| 45 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
6 | idfObject.setString(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::NominalAirFaceVelocity, "Autosize"); |
| 46 | } else { | ||
| 47 | ✗ | d = modelObject.nominalAirFaceVelocity(); | |
| 48 | ✗ | if (d) { | |
| 49 | ✗ | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::NominalAirFaceVelocity, d.get()); | |
| 50 | } | ||
| 51 | } | ||
| 52 | |||
| 53 | // NominalElectricPower | ||
| 54 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.nominalElectricPower(); |
| 55 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 56 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::NominalElectricPower, *d); |
| 57 | } | ||
| 58 | |||
| 59 | // TemperatureEquationCoefficient1 | ||
| 60 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient1(); |
| 61 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 62 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient1, *d); |
| 63 | } | ||
| 64 | |||
| 65 | // TemperatureEquationCoefficient2 | ||
| 66 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient2(); |
| 67 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 68 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient2, *d); |
| 69 | } | ||
| 70 | |||
| 71 | // TemperatureEquationCoefficient3 | ||
| 72 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient3(); |
| 73 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 74 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient3, *d); |
| 75 | } | ||
| 76 | |||
| 77 | // TemperatureEquationCoefficient4 | ||
| 78 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient4(); |
| 79 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 80 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient4, *d); |
| 81 | } | ||
| 82 | |||
| 83 | // TemperatureEquationCoefficient5 | ||
| 84 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient5(); |
| 85 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 86 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient5, *d); |
| 87 | } | ||
| 88 | |||
| 89 | // TemperatureEquationCoefficient6 | ||
| 90 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient6(); |
| 91 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 92 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient6, *d); |
| 93 | } | ||
| 94 | |||
| 95 | // TemperatureEquationCoefficient7 | ||
| 96 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient7(); |
| 97 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 98 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient7, *d); |
| 99 | } | ||
| 100 | |||
| 101 | // TemperatureEquationCoefficient8 | ||
| 102 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.temperatureEquationCoefficient8(); |
| 103 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 104 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::TemperatureEquationCoefficient8, *d); |
| 105 | } | ||
| 106 | |||
| 107 | // MinimumRegenerationInletAirHumidityRatioforTemperatureEquation | ||
| 108 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationInletAirHumidityRatioforTemperatureEquation(); |
| 109 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 110 | 3 | idfObject.setDouble( | |
| 111 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationInletAirHumidityRatioforTemperatureEquation, *d); |
| 112 | } | ||
| 113 | |||
| 114 | // MaximumRegenerationInletAirHumidityRatioforTemperatureEquation | ||
| 115 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationInletAirHumidityRatioforTemperatureEquation(); |
| 116 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 117 | 3 | idfObject.setDouble( | |
| 118 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationInletAirHumidityRatioforTemperatureEquation, *d); |
| 119 | } | ||
| 120 | |||
| 121 | // MinimumRegenerationInletAirTemperatureforTemperatureEquation | ||
| 122 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationInletAirTemperatureforTemperatureEquation(); |
| 123 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 124 | 3 | idfObject.setDouble( | |
| 125 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationInletAirTemperatureforTemperatureEquation, *d); |
| 126 | } | ||
| 127 | |||
| 128 | // MaximumRegenerationInletAirTemperatureforTemperatureEquation | ||
| 129 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationInletAirTemperatureforTemperatureEquation(); |
| 130 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 131 | 3 | idfObject.setDouble( | |
| 132 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationInletAirTemperatureforTemperatureEquation, *d); |
| 133 | } | ||
| 134 | |||
| 135 | // MinimumProcessInletAirHumidityRatioforTemperatureEquation | ||
| 136 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumProcessInletAirHumidityRatioforTemperatureEquation(); |
| 137 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 138 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumProcessInletAirHumidityRatioforTemperatureEquation, | |
| 139 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 140 | } | ||
| 141 | |||
| 142 | // MaximumProcessInletAirHumidityRatioforTemperatureEquation | ||
| 143 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumProcessInletAirHumidityRatioforTemperatureEquation(); |
| 144 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 145 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumProcessInletAirHumidityRatioforTemperatureEquation, | |
| 146 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 147 | } | ||
| 148 | |||
| 149 | // MinimumProcessInletAirTemperatureforTemperatureEquation | ||
| 150 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumProcessInletAirTemperatureforTemperatureEquation(); |
| 151 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 152 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumProcessInletAirTemperatureforTemperatureEquation, | |
| 153 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 154 | } | ||
| 155 | |||
| 156 | // MaximumProcessInletAirTemperatureforTemperatureEquation | ||
| 157 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumProcessInletAirTemperatureforTemperatureEquation(); |
| 158 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 159 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumProcessInletAirTemperatureforTemperatureEquation, | |
| 160 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 161 | } | ||
| 162 | |||
| 163 | // MinimumRegenerationAirVelocityforTemperatureEquation | ||
| 164 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationAirVelocityforTemperatureEquation(); |
| 165 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 166 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationAirVelocityforTemperatureEquation, *d); |
| 167 | } | ||
| 168 | |||
| 169 | // MaximumRegenerationAirVelocityforTemperatureEquation | ||
| 170 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationAirVelocityforTemperatureEquation(); |
| 171 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 172 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationAirVelocityforTemperatureEquation, *d); |
| 173 | } | ||
| 174 | |||
| 175 | // MinimumRegenerationOutletAirTemperatureforTemperatureEquation | ||
| 176 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationOutletAirTemperatureforTemperatureEquation(); |
| 177 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 178 | 3 | idfObject.setDouble( | |
| 179 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationOutletAirTemperatureforTemperatureEquation, *d); |
| 180 | } | ||
| 181 | |||
| 182 | // MaximumRegenerationOutletAirTemperatureforTemperatureEquation | ||
| 183 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationOutletAirTemperatureforTemperatureEquation(); |
| 184 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 185 | 3 | idfObject.setDouble( | |
| 186 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationOutletAirTemperatureforTemperatureEquation, *d); |
| 187 | } | ||
| 188 | |||
| 189 | // MinimumRegenerationInletAirRelativeHumidityforTemperatureEquation | ||
| 190 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationInletAirRelativeHumidityforTemperatureEquation(); |
| 191 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 192 | 3 | idfObject.setDouble( | |
| 193 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationInletAirRelativeHumidityforTemperatureEquation, *d); |
| 194 | } | ||
| 195 | |||
| 196 | // MaximumRegenerationInletAirRelativeHumidityforTemperatureEquation | ||
| 197 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationInletAirRelativeHumidityforTemperatureEquation(); |
| 198 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 199 | 3 | idfObject.setDouble( | |
| 200 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationInletAirRelativeHumidityforTemperatureEquation, *d); |
| 201 | } | ||
| 202 | |||
| 203 | // MinimumProcessInletAirRelativeHumidityforTemperatureEquation | ||
| 204 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumProcessInletAirRelativeHumidityforTemperatureEquation(); |
| 205 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 206 | 3 | idfObject.setDouble( | |
| 207 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumProcessInletAirRelativeHumidityforTemperatureEquation, *d); |
| 208 | } | ||
| 209 | |||
| 210 | // MaximumProcessInletAirRelativeHumidityforTemperatureEquation | ||
| 211 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumProcessInletAirRelativeHumidityforTemperatureEquation(); |
| 212 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 213 | 3 | idfObject.setDouble( | |
| 214 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumProcessInletAirRelativeHumidityforTemperatureEquation, *d); |
| 215 | } | ||
| 216 | |||
| 217 | // HumidityRatioEquationCoefficient1 | ||
| 218 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient1(); |
| 219 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 220 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient1, *d); |
| 221 | } | ||
| 222 | |||
| 223 | // HumidityRatioEquationCoefficient2 | ||
| 224 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient2(); |
| 225 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 226 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient2, *d); |
| 227 | } | ||
| 228 | |||
| 229 | // HumidityRatioEquationCoefficient3 | ||
| 230 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient3(); |
| 231 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 232 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient3, *d); |
| 233 | } | ||
| 234 | |||
| 235 | // HumidityRatioEquationCoefficient4 | ||
| 236 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient4(); |
| 237 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 238 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient4, *d); |
| 239 | } | ||
| 240 | |||
| 241 | // HumidityRatioEquationCoefficient5 | ||
| 242 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient5(); |
| 243 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 244 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient5, *d); |
| 245 | } | ||
| 246 | |||
| 247 | // HumidityRatioEquationCoefficient6 | ||
| 248 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient6(); |
| 249 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 250 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient6, *d); |
| 251 | } | ||
| 252 | |||
| 253 | // HumidityRatioEquationCoefficient7 | ||
| 254 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient7(); |
| 255 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 256 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient7, *d); |
| 257 | } | ||
| 258 | |||
| 259 | // HumidityRatioEquationCoefficient8 | ||
| 260 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.humidityRatioEquationCoefficient8(); |
| 261 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 262 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::HumidityRatioEquationCoefficient8, *d); |
| 263 | } | ||
| 264 | |||
| 265 | // MinimumRegenerationInletAirHumidityRatioforHumidityRatioEquation | ||
| 266 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationInletAirHumidityRatioforHumidityRatioEquation(); |
| 267 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 268 | 3 | idfObject.setDouble( | |
| 269 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationInletAirHumidityRatioforHumidityRatioEquation, *d); |
| 270 | } | ||
| 271 | |||
| 272 | // MaximumRegenerationInletAirHumidityRatioforHumidityRatioEquation | ||
| 273 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationInletAirHumidityRatioforHumidityRatioEquation(); |
| 274 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 275 | 3 | idfObject.setDouble( | |
| 276 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationInletAirHumidityRatioforHumidityRatioEquation, *d); |
| 277 | } | ||
| 278 | |||
| 279 | // MinimumRegenerationInletAirTemperatureforHumidityRatioEquation | ||
| 280 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationInletAirTemperatureforHumidityRatioEquation(); |
| 281 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 282 | 3 | idfObject.setDouble( | |
| 283 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationInletAirTemperatureforHumidityRatioEquation, *d); |
| 284 | } | ||
| 285 | |||
| 286 | // MaximumRegenerationInletAirTemperatureforHumidityRatioEquation | ||
| 287 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationInletAirTemperatureforHumidityRatioEquation(); |
| 288 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 289 | 3 | idfObject.setDouble( | |
| 290 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationInletAirTemperatureforHumidityRatioEquation, *d); |
| 291 | } | ||
| 292 | |||
| 293 | // MinimumProcessInletAirHumidityRatioforHumidityRatioEquation | ||
| 294 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumProcessInletAirHumidityRatioforHumidityRatioEquation(); |
| 295 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 296 | 3 | idfObject.setDouble( | |
| 297 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumProcessInletAirHumidityRatioforHumidityRatioEquation, *d); |
| 298 | } | ||
| 299 | |||
| 300 | // MaximumProcessInletAirHumidityRatioforHumidityRatioEquation | ||
| 301 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumProcessInletAirHumidityRatioforHumidityRatioEquation(); |
| 302 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 303 | 3 | idfObject.setDouble( | |
| 304 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumProcessInletAirHumidityRatioforHumidityRatioEquation, *d); |
| 305 | } | ||
| 306 | |||
| 307 | // MinimumProcessInletAirTemperatureforHumidityRatioEquation | ||
| 308 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumProcessInletAirTemperatureforHumidityRatioEquation(); |
| 309 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 310 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumProcessInletAirTemperatureforHumidityRatioEquation, | |
| 311 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 312 | } | ||
| 313 | |||
| 314 | // MaximumProcessInletAirTemperatureforHumidityRatioEquation | ||
| 315 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumProcessInletAirTemperatureforHumidityRatioEquation(); |
| 316 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 317 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumProcessInletAirTemperatureforHumidityRatioEquation, | |
| 318 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 319 | } | ||
| 320 | |||
| 321 | // MinimumRegenerationAirVelocityforHumidityRatioEquation | ||
| 322 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationAirVelocityforHumidityRatioEquation(); |
| 323 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 324 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationAirVelocityforHumidityRatioEquation, | |
| 325 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 326 | } | ||
| 327 | |||
| 328 | // MaximumRegenerationAirVelocityforHumidityRatioEquation | ||
| 329 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationAirVelocityforHumidityRatioEquation(); |
| 330 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 331 | 3 | idfObject.setDouble(HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationAirVelocityforHumidityRatioEquation, | |
| 332 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | *d); |
| 333 | } | ||
| 334 | |||
| 335 | // MinimumRegenerationOutletAirHumidityRatioforHumidityRatioEquation | ||
| 336 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationOutletAirHumidityRatioforHumidityRatioEquation(); |
| 337 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 338 | 3 | idfObject.setDouble( | |
| 339 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationOutletAirHumidityRatioforHumidityRatioEquation, *d); |
| 340 | } | ||
| 341 | |||
| 342 | // MaximumRegenerationOutletAirHumidityRatioforHumidityRatioEquation | ||
| 343 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationOutletAirHumidityRatioforHumidityRatioEquation(); |
| 344 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 345 | 3 | idfObject.setDouble( | |
| 346 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationOutletAirHumidityRatioforHumidityRatioEquation, *d); |
| 347 | } | ||
| 348 | |||
| 349 | // MinimumRegenerationInletAirRelativeHumidityforHumidityRatioEquation | ||
| 350 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumRegenerationInletAirRelativeHumidityforHumidityRatioEquation(); |
| 351 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 352 | 3 | idfObject.setDouble( | |
| 353 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumRegenerationInletAirRelativeHumidityforHumidityRatioEquation, *d); |
| 354 | } | ||
| 355 | |||
| 356 | // MaximumRegenerationInletAirRelativeHumidityforHumidityRatioEquation | ||
| 357 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumRegenerationInletAirRelativeHumidityforHumidityRatioEquation(); |
| 358 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 359 | 3 | idfObject.setDouble( | |
| 360 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumRegenerationInletAirRelativeHumidityforHumidityRatioEquation, *d); |
| 361 | } | ||
| 362 | |||
| 363 | // MinimumProcessInletAirRelativeHumidityforHumidityRatioEquation | ||
| 364 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.minimumProcessInletAirRelativeHumidityforHumidityRatioEquation(); |
| 365 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 366 | 3 | idfObject.setDouble( | |
| 367 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MinimumProcessInletAirRelativeHumidityforHumidityRatioEquation, *d); |
| 368 | } | ||
| 369 | |||
| 370 | // MaximumProcessInletAirRelativeHumidityforHumidityRatioEquation | ||
| 371 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | d = modelObject.maximumProcessInletAirRelativeHumidityforHumidityRatioEquation(); |
| 372 |
1/2✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
|
3 | if (d) { |
| 373 | 3 | idfObject.setDouble( | |
| 374 |
2/2✓ Branch 1 taken 3 times.
✓ Branch 4 taken 3 times.
|
3 | HeatExchanger_Desiccant_BalancedFlow_PerformanceDataType1Fields::MaximumProcessInletAirRelativeHumidityforHumidityRatioEquation, *d); |
| 375 | } | ||
| 376 | |||
| 377 |
1/1✓ Branch 1 taken 3 times.
|
6 | return boost::optional<IdfObject>(idfObject); |
| 378 | 3 | } // End of translate function | |
| 379 | |||
| 380 | } // end namespace energyplus | ||
| 381 | } // end namespace openstudio | ||
| 382 |