module BTAP::Resources::Schedules::StandardSchedules::Temperature

Public Class Methods

no_cooling(model) click to toggle source
# 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) click to toggle source
# 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) click to toggle source
# 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