Module: PrototypeBuilding::SmallOffice

Defined in:
lib/openstudio-standards/prototypes/Prototype.small_office.rb

Class Method Summary collapse

Class Method Details

.custom_hvac_tweaks(building_type, template, climate_zone, prototype_input, model) ⇒ Object



71
72
73
# File 'lib/openstudio-standards/prototypes/Prototype.small_office.rb', line 71

def self.custom_hvac_tweaks(building_type, template, climate_zone, prototype_input, model)
  return true
end

.custom_swh_tweaks(building_type, template, climate_zone, prototype_input, model) ⇒ Object



75
76
77
# File 'lib/openstudio-standards/prototypes/Prototype.small_office.rb', line 75

def self.custom_swh_tweaks(building_type, template, climate_zone, prototype_input, model)
  return true
end

.define_hvac_system_map(building_type, template, climate_zone) ⇒ Object



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/openstudio-standards/prototypes/Prototype.small_office.rb', line 24

def self.define_hvac_system_map(building_type, template, climate_zone)
  system_to_space_map = [
    {
      'type' => 'PSZ-AC',
      'name' => 'PSZ-AC-2',
      'space_names' =>
        [
          'Perimeter_ZN_1'
        ]
    },
    {
      'type' => 'PSZ-AC',
      'name' => 'PSZ-AC-3',
      'space_names' =>
        [
          'Perimeter_ZN_2'
        ]
    },
    {
      'type' => 'PSZ-AC',
      'name' => 'PSZ-AC-4',
      'space_names' =>
        [
          'Perimeter_ZN_3'
        ]
    },
    {
      'type' => 'PSZ-AC',
      'name' => 'PSZ-AC-5',
      'space_names' =>
        [
          'Perimeter_ZN_4'
        ]
    },
    {
      'type' => 'PSZ-AC',
      'name' => 'PSZ-AC-1',
      'space_names' =>
        [
          'Core_ZN'
        ]
    }
  ]

  return system_to_space_map
end

.define_space_type_map(building_type, template, climate_zone) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/openstudio-standards/prototypes/Prototype.small_office.rb', line 5

def self.define_space_type_map(building_type, template, climate_zone)
  space_type_map = nil

  space_type_map = case template
                   when 'NECB 2011'
                     # dom = ?
                     {
                       '- undefined -' => ['Attic'],
                       'Office - enclosed' => ['Core_ZN', 'Perimeter_ZN_1', 'Perimeter_ZN_2', 'Perimeter_ZN_3', 'Perimeter_ZN_4']
                     }
                   else
                     {
                       'WholeBuilding - Sm Office' => ['Perimeter_ZN_1', 'Perimeter_ZN_2', 'Perimeter_ZN_3', 'Perimeter_ZN_4', 'Core_ZN'],
                       'Attic' => ['Attic']
                     }
                   end
  return space_type_map
end