| 155 | } |
| 156 | |
| 157 | bool People_Impl::hardApplySchedules() { |
| 158 | bool result = false; |
| 159 | |
| 160 | // required by EnergyPlus |
| 161 | boost::optional<Schedule> schedule = this->numberofPeopleSchedule(); |
| 162 | if (schedule) { |
| 163 | result = this->setNumberofPeopleSchedule(*schedule); |
| 164 | } |
| 165 | |
| 166 | // required by EnergyPlus |
| 167 | schedule = this->activityLevelSchedule(); |
| 168 | if (schedule) { |
| 169 | result = result && this->setActivityLevelSchedule(*schedule); |
| 170 | } else { |
| 171 | result = false; |
| 172 | } |
| 173 | |
| 174 | // None of these are part of the DefaultScheduleSet |
| 175 | // // optional in EnergyPlus |
| 176 | // schedule = this->workEfficiencySchedule(); |
| 177 | // if (schedule) { |
| 178 | // this->setWorkEfficiencySchedule(*schedule); |
| 179 | // } |
| 180 | |
| 181 | // // optional in EnergyPlus |
| 182 | // schedule = this->clothingInsulationSchedule(); |
| 183 | // if (schedule) { |
| 184 | // this->setClothingInsulationSchedule(*schedule); |
| 185 | // } |
| 186 | |
| 187 | // // optional in EnergyPlus |
| 188 | // schedule = this->airVelocitySchedule(); |
| 189 | // if (schedule) { |
| 190 | // this->setAirVelocitySchedule(*schedule); |
| 191 | // } |
| 192 | |
| 193 | // // optional in EnergyPlus |
| 194 | // schedule = this->ankleLevelAirVelocitySchedule(); |
| 195 | // if (schedule) { |
| 196 | // this->setAnkleLevelAirVelocitySchedule(*schedule); |
| 197 | // } |
| 198 | |
| 199 | return result; |
| 200 | } |
| 201 | |
| 202 | double People_Impl::multiplier() const { |
| 203 | boost::optional<double> value = getDouble(OS_PeopleFields::Multiplier, true); |
no test coverage detected