Module: BTAP::Resources::Schedules::StandardSchedules::Temperature
- Defined in:
- lib/openstudio-standards/btap/schedules.rb
Class Method Summary collapse
- .no_cooling(model) ⇒ Object
- .no_heating(model) ⇒ Object
- .no_heating_cooling_dual_setpoint_schedule(model) ⇒ Object
Class Method Details
.no_cooling(model) ⇒ Object
275 276 277 278 279 280 281 282 283 284 285 286 287 288 |
# File 'lib/openstudio-standards/btap/schedules.rb', line 275 def self.no_cooling(model) no_cooling = "NO_COOLING_SETPOINT" schedule = model.getScheduleRulesetByName(no_cooling) if schedule.empty? #create Schedule return BTAP::Resources::Schedules::create_annual_constant_ruleset_schedule( model, no_cooling, "TEMPERATURE", 200.0) else return schedule.get end end |
.no_heating(model) ⇒ Object
261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/openstudio-standards/btap/schedules.rb', line 261 def self.no_heating(model) no_heating = "NO_HEATING_SETPOINT" schedule = model.getScheduleRulesetByName(no_heating) if schedule.empty? #create Schedule return BTAP::Resources::Schedules::create_annual_constant_ruleset_schedule( model, no_heating, "TEMPERATURE", -200.0) else return schedule.get end end |
.no_heating_cooling_dual_setpoint_schedule(model) ⇒ Object
289 290 291 292 293 294 295 296 297 298 |
# File 'lib/openstudio-standards/btap/schedules.rb', line 289 def self.no_heating_cooling_dual_setpoint_schedule(model) dual_setpoint_name = "FREE_FLOATING_DUAL_SETPOINT_THERMOSTAT" schedule = model.getScheduleRulesetByName(dual_setpoint_name) if schedule.empty? #create Schedule return BTAP::Resources::Schedules::create_annual_thermostat_setpoint_dual_setpoint( model, dual_setpoint_name, self.heating_setpoint_off, self.cooling_setpoint_off) else return schedule.getThermostatSetpointDualSetpointByName() end end |