openstudio-standards 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/data/standards/OpenStudio_Standards.xlsx +0 -0
  3. data/data/standards/OpenStudio_Standards_chillers.json +5 -5
  4. data/data/standards/OpenStudio_Standards_construction_sets.json +2 -2
  5. data/data/standards/OpenStudio_Standards_curve_cubics.json +12 -0
  6. data/data/standards/OpenStudio_Standards_heat_pumps.json +2126 -72
  7. data/data/standards/OpenStudio_Standards_heat_pumps_heating.json +766 -14
  8. data/data/standards/OpenStudio_Standards_heat_rejection.json +172 -0
  9. data/data/standards/OpenStudio_Standards_prototype_inputs.json +355 -267
  10. data/data/standards/OpenStudio_Standards_schedules.json +262 -10
  11. data/data/standards/OpenStudio_Standards_space_types.json +1466 -794
  12. data/data/standards/manage_OpenStudio_Standards.rb +19 -21
  13. data/data/weather/weather_info.csv +96 -0
  14. data/lib/openstudio-standards/btap/btap.rb +1 -1
  15. data/lib/openstudio-standards/btap/compliance.rb +135 -40
  16. data/lib/openstudio-standards/btap/envelope.rb +26 -5
  17. data/lib/openstudio-standards/btap/geometry.rb +11 -1
  18. data/lib/openstudio-standards/btap/hvac.rb +489 -56
  19. data/lib/openstudio-standards/btap/simmanager.rb +1 -1
  20. data/lib/openstudio-standards/hvac_sizing/HVACSizing.CoilHeatingDXMultiSpeed.rb +120 -0
  21. data/lib/openstudio-standards/hvac_sizing/Siz.CoilCoolingDXMultiSpeed.rb +151 -7
  22. data/lib/openstudio-standards/hvac_sizing/Siz.CoilHeatingGasMultiStage.rb +48 -7
  23. data/lib/openstudio-standards/hvac_sizing/Siz.Model.rb +14 -12
  24. data/lib/openstudio-standards/prototypes/Prototype.AirTerminalSingleDuctVAVReheat.rb +33 -7
  25. data/lib/openstudio-standards/prototypes/Prototype.Model.hvac.rb +123 -91
  26. data/lib/openstudio-standards/prototypes/Prototype.Model.rb +130 -45
  27. data/lib/openstudio-standards/prototypes/Prototype.Model.swh.rb +13 -7
  28. data/lib/openstudio-standards/prototypes/Prototype.full_service_restaurant.rb +332 -324
  29. data/lib/openstudio-standards/prototypes/Prototype.hospital.rb +401 -99
  30. data/lib/openstudio-standards/prototypes/Prototype.hvac_systems.rb +309 -222
  31. data/lib/openstudio-standards/prototypes/Prototype.large_hotel.rb +100 -80
  32. data/lib/openstudio-standards/prototypes/Prototype.large_office.rb +37 -22
  33. data/lib/openstudio-standards/prototypes/Prototype.medium_office.rb +68 -53
  34. data/lib/openstudio-standards/prototypes/Prototype.mid_rise_apartment.rb +109 -88
  35. data/lib/openstudio-standards/prototypes/Prototype.outpatient.rb +52 -4
  36. data/lib/openstudio-standards/prototypes/Prototype.primary_school.rb +230 -213
  37. data/lib/openstudio-standards/prototypes/Prototype.quick_service_restaurant.rb +225 -218
  38. data/lib/openstudio-standards/prototypes/Prototype.retail_standalone.rb +29 -17
  39. data/lib/openstudio-standards/prototypes/Prototype.retail_stripmall.rb +42 -32
  40. data/lib/openstudio-standards/prototypes/Prototype.secondary_school.rb +331 -314
  41. data/lib/openstudio-standards/prototypes/Prototype.small_hotel.rb +233 -219
  42. data/lib/openstudio-standards/prototypes/Prototype.small_office.rb +40 -32
  43. data/lib/openstudio-standards/prototypes/Prototype.warehouse.rb +19 -6
  44. data/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb +576 -555
  45. data/lib/openstudio-standards/standards/Standards.AirTerminalSingleDuctVAVReheat.rb +3 -1
  46. data/lib/openstudio-standards/standards/Standards.BoilerHotWater.rb +35 -17
  47. data/lib/openstudio-standards/standards/Standards.ChillerElectricEIR.rb +51 -23
  48. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXMultiSpeed.rb +255 -0
  49. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXMultiSpeed.rb +192 -0
  50. data/lib/openstudio-standards/standards/Standards.CoilHeatingGasMultiStage.rb +65 -0
  51. data/lib/openstudio-standards/standards/Standards.Fan.rb +37 -6
  52. data/lib/openstudio-standards/standards/Standards.Model.rb +28 -3
  53. data/lib/openstudio-standards/standards/Standards.SpaceType.rb +3 -1
  54. data/lib/openstudio-standards/standards/Standards.WaterHeaterMixed.rb +41 -15
  55. data/lib/openstudio-standards/version.rb +1 -1
  56. data/lib/openstudio-standards/weather/Weather.Model.rb +509 -5
  57. data/lib/openstudio-standards/weather/Weather.stat_file.rb +145 -5
  58. metadata +8 -3
  59. data/lib/openstudio-standards/btap/environment.rb +0 -718
@@ -16,6 +16,12 @@ class OpenStudio::Model::Model
16
16
  'Kitchen' => ['Kitchen'],
17
17
  'Attic' => ['attic']
18
18
  }
19
+ when 'NECB 2011'
20
+ space_type_map ={
21
+ "- undefined -" => ["attic"],
22
+ "Dining - bar lounge/leisure" => ["Dining"],
23
+ "Food preparation" => ["Kitchen"]
24
+ }
19
25
  end
20
26
  return space_type_map
21
27
  end
@@ -26,277 +32,277 @@ class OpenStudio::Model::Model
26
32
  when 'DOE Ref Pre-1980', 'DOE Ref 1980-2004'
27
33
  system_to_space_map = [
28
34
  {
29
- 'type' => 'PSZ-AC',
30
- 'space_names' => ['Dining', 'Kitchen']
35
+ 'type' => 'PSZ-AC',
36
+ 'space_names' => ['Dining', 'Kitchen']
31
37
  },
32
38
  {
33
- 'type' => 'Exhaust Fan',
34
- 'name' => 'Dining Exhaust Fan',
35
- 'availability_sch_name' => 'RestaurantFastFood HVACOperationSchd',
36
- 'flow_rate' => 0.834532374,
37
- 'flow_fraction_schedule_name' => nil,
38
- 'balanced_exhaust_fraction_schedule_name' => nil,
39
- 'space_names' =>
39
+ 'type' => 'Exhaust Fan',
40
+ 'name' => 'Dining Exhaust Fan',
41
+ 'availability_sch_name' => 'RestaurantFastFood HVACOperationSchd',
42
+ 'flow_rate' => 0.834532374,
43
+ 'flow_fraction_schedule_name' => nil,
44
+ 'balanced_exhaust_fraction_schedule_name' => nil,
45
+ 'space_names' =>
40
46
  [
41
- 'Dining'
42
- ]
47
+ 'Dining'
48
+ ]
43
49
  },
44
50
  {
45
- 'type' => 'Exhaust Fan',
46
- 'name' => 'Kitchen Exhaust Fan',
47
- 'availability_sch_name' => 'RestaurantFastFood HVACOperationSchd',
48
- 'flow_rate' => 0.722467626,
49
- 'flow_fraction_schedule_name' => nil,
50
- 'balanced_exhaust_fraction_schedule_name' => nil,
51
- 'space_names' =>
51
+ 'type' => 'Exhaust Fan',
52
+ 'name' => 'Kitchen Exhaust Fan',
53
+ 'availability_sch_name' => 'RestaurantFastFood HVACOperationSchd',
54
+ 'flow_rate' => 0.722467626,
55
+ 'flow_fraction_schedule_name' => nil,
56
+ 'balanced_exhaust_fraction_schedule_name' => nil,
57
+ 'space_names' =>
52
58
  [
53
- 'Kitchen'
54
- ]
59
+ 'Kitchen'
60
+ ]
55
61
  },
56
62
  {
57
- 'type' => 'Refrigeration',
58
- 'case_type' => 'Walkin Freezer',
59
- 'cooling_capacity_per_length' => 688,
60
- 'length' => 2.44,
61
- 'evaporator_fan_pwr_per_length' => 74,
62
- 'lighting_per_length' => 33,
63
- 'lighting_sch_name' => 'QuickServiceRestaurant Bldg Light',
64
- 'defrost_pwr_per_length' => 1291.7,
65
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
66
- 'cop' => 1.5,
67
- 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
68
- 'condenser_fan_pwr' => 330,
69
- 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
70
- 'space_names' =>
63
+ 'type' => 'Refrigeration',
64
+ 'case_type' => 'Walkin Freezer',
65
+ 'cooling_capacity_per_length' => 688,
66
+ 'length' => 2.44,
67
+ 'evaporator_fan_pwr_per_length' => 74,
68
+ 'lighting_per_length' => 33,
69
+ 'lighting_sch_name' => 'QuickServiceRestaurant Bldg Light',
70
+ 'defrost_pwr_per_length' => 1291.7,
71
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
72
+ 'cop' => 1.5,
73
+ 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
74
+ 'condenser_fan_pwr' => 330,
75
+ 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
76
+ 'space_names' =>
71
77
  [
72
- 'Kitchen'
73
- ]
78
+ 'Kitchen'
79
+ ]
74
80
  },
75
81
  {
76
- 'type' => 'Refrigeration',
77
- 'case_type' => 'Display Case',
78
- 'cooling_capacity_per_length' => 734.0,
79
- 'length' => 3.05,
80
- 'evaporator_fan_pwr_per_length' => 66,
81
- 'lighting_per_length' => 33.0,
82
- 'lighting_sch_name' => 'QuickServiceRestaurant Bldg Light',
83
- 'defrost_pwr_per_length' => 0.0,
84
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
85
- 'cop' => 3.0,
86
- 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
87
- 'condenser_fan_pwr' => 330,
88
- 'condenser_fan_pwr_curve_name' => nil,
89
- 'space_names' =>
82
+ 'type' => 'Refrigeration',
83
+ 'case_type' => 'Display Case',
84
+ 'cooling_capacity_per_length' => 734.0,
85
+ 'length' => 3.05,
86
+ 'evaporator_fan_pwr_per_length' => 66,
87
+ 'lighting_per_length' => 33.0,
88
+ 'lighting_sch_name' => 'QuickServiceRestaurant Bldg Light',
89
+ 'defrost_pwr_per_length' => 0.0,
90
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
91
+ 'cop' => 3.0,
92
+ 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
93
+ 'condenser_fan_pwr' => 330,
94
+ 'condenser_fan_pwr_curve_name' => nil,
95
+ 'space_names' =>
90
96
  [
91
- 'Kitchen'
92
- ]
97
+ 'Kitchen'
98
+ ]
93
99
  }
94
100
  ]
95
101
  when '90.1-2004'
96
102
  system_to_space_map = [
97
103
  {
98
- 'type' => 'PSZ-AC',
99
- 'space_names' => ['Dining', 'Kitchen']
104
+ 'type' => 'PSZ-AC',
105
+ 'space_names' => ['Dining', 'Kitchen']
100
106
  },
101
107
  {
102
- 'type' => 'Exhaust Fan',
103
- 'name' => 'Kitchen Exhaust Fan',
104
- 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
105
- 'flow_rate' => 1.557427,
106
- 'flow_fraction_schedule_name' => nil,
107
- 'balanced_exhaust_fraction_schedule_name' => 'RestaurantFastFood Kitchen Exhaust Fan Balanced Exhaust Fraction Schedule_2004',
108
- 'space_names' =>
108
+ 'type' => 'Exhaust Fan',
109
+ 'name' => 'Kitchen Exhaust Fan',
110
+ 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
111
+ 'flow_rate' => 1.557427,
112
+ 'flow_fraction_schedule_name' => nil,
113
+ 'balanced_exhaust_fraction_schedule_name' => 'RestaurantFastFood Kitchen Exhaust Fan Balanced Exhaust Fraction Schedule_2004',
114
+ 'space_names' =>
109
115
  [
110
- 'Kitchen'
111
- ]
116
+ 'Kitchen'
117
+ ]
112
118
  },
113
119
  {
114
- 'type' => 'Exhaust Fan',
115
- 'name' => 'Dining Exhaust Fan',
116
- 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
117
- 'flow_rate' => 0.826233,
118
- 'flow_fraction_schedule_name' => nil,
119
- 'balanced_exhaust_fraction_schedule_name' => nil,
120
- 'space_names' =>
120
+ 'type' => 'Exhaust Fan',
121
+ 'name' => 'Dining Exhaust Fan',
122
+ 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
123
+ 'flow_rate' => 0.826233,
124
+ 'flow_fraction_schedule_name' => nil,
125
+ 'balanced_exhaust_fraction_schedule_name' => nil,
126
+ 'space_names' =>
121
127
  [
122
- 'Dining'
123
- ]
128
+ 'Dining'
129
+ ]
124
130
  },
125
131
  {
126
- 'type' => 'Refrigeration',
127
- 'case_type' => 'Walkin Freezer',
128
- 'cooling_capacity_per_length' => 688,
129
- 'length' => 2.44,
130
- 'evaporator_fan_pwr_per_length' => 74,
131
- 'lighting_per_length' => 33,
132
- 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
133
- 'defrost_pwr_per_length' => 1291.7,
134
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
135
- 'cop' => 1.5,
136
- 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
137
- 'condenser_fan_pwr' => 330,
138
- 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
139
- 'space_names' =>
132
+ 'type' => 'Refrigeration',
133
+ 'case_type' => 'Walkin Freezer',
134
+ 'cooling_capacity_per_length' => 688,
135
+ 'length' => 2.44,
136
+ 'evaporator_fan_pwr_per_length' => 74,
137
+ 'lighting_per_length' => 33,
138
+ 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
139
+ 'defrost_pwr_per_length' => 1291.7,
140
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
141
+ 'cop' => 1.5,
142
+ 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
143
+ 'condenser_fan_pwr' => 330,
144
+ 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
145
+ 'space_names' =>
140
146
  [
141
- 'Kitchen'
142
- ]
147
+ 'Kitchen'
148
+ ]
143
149
  },
144
150
  {
145
- 'type' => 'Refrigeration',
146
- 'case_type' => 'Display Case',
147
- 'cooling_capacity_per_length' => 734.0,
148
- 'length' => 3.05,
149
- 'evaporator_fan_pwr_per_length' => 66,
150
- 'lighting_per_length' => 33.0,
151
- 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
152
- 'defrost_pwr_per_length' => 0.0,
153
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
154
- 'cop' => 3.0,
155
- 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
156
- 'condenser_fan_pwr' => 330,
157
- 'condenser_fan_pwr_curve_name' => nil,
158
- 'space_names' =>
151
+ 'type' => 'Refrigeration',
152
+ 'case_type' => 'Display Case',
153
+ 'cooling_capacity_per_length' => 734.0,
154
+ 'length' => 3.05,
155
+ 'evaporator_fan_pwr_per_length' => 66,
156
+ 'lighting_per_length' => 33.0,
157
+ 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
158
+ 'defrost_pwr_per_length' => 0.0,
159
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
160
+ 'cop' => 3.0,
161
+ 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
162
+ 'condenser_fan_pwr' => 330,
163
+ 'condenser_fan_pwr_curve_name' => nil,
164
+ 'space_names' =>
159
165
  [
160
- 'Kitchen'
161
- ]
166
+ 'Kitchen'
167
+ ]
162
168
  }
163
169
  ]
164
170
  when '90.1-2007', '90.1-2010'
165
171
  system_to_space_map = [
166
172
  {
167
- 'type' => 'PSZ-AC',
168
- 'space_names' => ['Dining', 'Kitchen']
173
+ 'type' => 'PSZ-AC',
174
+ 'space_names' => ['Dining', 'Kitchen']
169
175
  },
170
176
  {
171
- 'type' => 'Exhaust Fan',
172
- 'name' => 'Kitchen Exhaust Fan',
173
- 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
174
- 'flow_rate' => 1.557427,
175
- 'flow_fraction_schedule_name' => nil,
176
- 'balanced_exhaust_fraction_schedule_name' => 'RestaurantFastFood Kitchen Exhaust Fan Balanced Exhaust Fraction Schedule_2007_2010_2013',
177
- 'space_names' =>
177
+ 'type' => 'Exhaust Fan',
178
+ 'name' => 'Kitchen Exhaust Fan',
179
+ 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
180
+ 'flow_rate' => 1.557427,
181
+ 'flow_fraction_schedule_name' => nil,
182
+ 'balanced_exhaust_fraction_schedule_name' => 'RestaurantFastFood Kitchen Exhaust Fan Balanced Exhaust Fraction Schedule_2007_2010_2013',
183
+ 'space_names' =>
178
184
  [
179
- 'Kitchen'
180
- ]
185
+ 'Kitchen'
186
+ ]
181
187
  },
182
188
  {
183
- 'type' => 'Exhaust Fan',
184
- 'name' => 'Dining Exhaust Fan',
185
- 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
186
- 'flow_rate' => 0.416,
187
- 'flow_fraction_schedule_name' => nil,
188
- 'balanced_exhaust_fraction_schedule_name' => nil,
189
- 'space_names' =>
189
+ 'type' => 'Exhaust Fan',
190
+ 'name' => 'Dining Exhaust Fan',
191
+ 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
192
+ 'flow_rate' => 0.416,
193
+ 'flow_fraction_schedule_name' => nil,
194
+ 'balanced_exhaust_fraction_schedule_name' => nil,
195
+ 'space_names' =>
190
196
  [
191
- 'Dining'
192
- ]
197
+ 'Dining'
198
+ ]
193
199
  },
194
200
  {
195
- 'type' => 'Refrigeration',
196
- 'case_type' => 'Walkin Freezer',
197
- 'cooling_capacity_per_length' => 688,
198
- 'length' => 2.44,
199
- 'evaporator_fan_pwr_per_length' => 74,
200
- 'lighting_per_length' => 33,
201
- 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
202
- 'defrost_pwr_per_length' => 1291.7,
203
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
204
- 'cop' => 1.5,
205
- 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
206
- 'condenser_fan_pwr' => 330,
207
- 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
208
- 'space_names' =>
201
+ 'type' => 'Refrigeration',
202
+ 'case_type' => 'Walkin Freezer',
203
+ 'cooling_capacity_per_length' => 688,
204
+ 'length' => 2.44,
205
+ 'evaporator_fan_pwr_per_length' => 74,
206
+ 'lighting_per_length' => 33,
207
+ 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
208
+ 'defrost_pwr_per_length' => 1291.7,
209
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
210
+ 'cop' => 1.5,
211
+ 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
212
+ 'condenser_fan_pwr' => 330,
213
+ 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
214
+ 'space_names' =>
209
215
  [
210
- 'Kitchen'
211
- ]
216
+ 'Kitchen'
217
+ ]
212
218
  },
213
219
  {
214
- 'type' => 'Refrigeration',
215
- 'case_type' => 'Display Case',
216
- 'cooling_capacity_per_length' => 734.0,
217
- 'length' => 3.05,
218
- 'evaporator_fan_pwr_per_length' => 66,
219
- 'lighting_per_length' => 33.0,
220
- 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
221
- 'defrost_pwr_per_length' => 0.0,
222
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
223
- 'cop' => 3.0,
224
- 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
225
- 'condenser_fan_pwr' => 330,
226
- 'condenser_fan_pwr_curve_name' => nil,
227
- 'space_names' =>
220
+ 'type' => 'Refrigeration',
221
+ 'case_type' => 'Display Case',
222
+ 'cooling_capacity_per_length' => 734.0,
223
+ 'length' => 3.05,
224
+ 'evaporator_fan_pwr_per_length' => 66,
225
+ 'lighting_per_length' => 33.0,
226
+ 'lighting_sch_name' => 'RestaurantFastFood BLDG_LIGHT_DINING_SCH_2004_2007',
227
+ 'defrost_pwr_per_length' => 0.0,
228
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
229
+ 'cop' => 3.0,
230
+ 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
231
+ 'condenser_fan_pwr' => 330,
232
+ 'condenser_fan_pwr_curve_name' => nil,
233
+ 'space_names' =>
228
234
  [
229
- 'Kitchen'
230
- ]
235
+ 'Kitchen'
236
+ ]
231
237
  }
232
238
  ]
233
239
  when '90.1-2013'
234
240
  system_to_space_map = [
235
241
  {
236
- 'type' => 'PSZ-AC',
237
- 'space_names' => ['Dining', 'Kitchen']
242
+ 'type' => 'PSZ-AC',
243
+ 'space_names' => ['Dining', 'Kitchen']
238
244
  },
239
245
  {
240
- 'type' => 'Exhaust Fan',
241
- 'name' => 'Kitchen Exhaust Fan',
242
- 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
243
- 'flow_rate' => 1.557427,
244
- 'flow_fraction_schedule_name' => nil,
245
- 'balanced_exhaust_fraction_schedule_name' => 'RestaurantFastFood Kitchen Exhaust Fan Balanced Exhaust Fraction Schedule_2007_2010_2013',
246
- 'space_names' =>
246
+ 'type' => 'Exhaust Fan',
247
+ 'name' => 'Kitchen Exhaust Fan',
248
+ 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
249
+ 'flow_rate' => 1.557427,
250
+ 'flow_fraction_schedule_name' => nil,
251
+ 'balanced_exhaust_fraction_schedule_name' => 'RestaurantFastFood Kitchen Exhaust Fan Balanced Exhaust Fraction Schedule_2007_2010_2013',
252
+ 'space_names' =>
247
253
  [
248
- 'Kitchen'
249
- ]
254
+ 'Kitchen'
255
+ ]
250
256
  },
251
257
  {
252
- 'type' => 'Exhaust Fan',
253
- 'name' => 'Dining Exhaust Fan',
254
- 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
255
- 'flow_rate' => 0.416,
256
- 'flow_fraction_schedule_name' => nil,
257
- 'balanced_exhaust_fraction_schedule_name' => nil,
258
- 'space_names' =>
258
+ 'type' => 'Exhaust Fan',
259
+ 'name' => 'Dining Exhaust Fan',
260
+ 'availability_sch_name' => 'RestaurantFastFood Hours_of_operation',
261
+ 'flow_rate' => 0.416,
262
+ 'flow_fraction_schedule_name' => nil,
263
+ 'balanced_exhaust_fraction_schedule_name' => nil,
264
+ 'space_names' =>
259
265
  [
260
- 'Dining'
261
- ]
266
+ 'Dining'
267
+ ]
262
268
  },
263
269
  {
264
- 'type' => 'Refrigeration',
265
- 'case_type' => 'Walkin Freezer',
266
- 'cooling_capacity_per_length' => 688,
267
- 'length' => 2.44,
268
- 'evaporator_fan_pwr_per_length' => 21.143,
269
- 'lighting_per_length' => 33,
270
- 'lighting_sch_name' => 'RestaurantFastFood walkin_occ_lght_SCH',
271
- 'defrost_pwr_per_length' => 1291.7,
272
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
273
- 'cop' => 1.5,
274
- 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
275
- 'condenser_fan_pwr' => 330,
276
- 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
277
- 'space_names' =>
270
+ 'type' => 'Refrigeration',
271
+ 'case_type' => 'Walkin Freezer',
272
+ 'cooling_capacity_per_length' => 688,
273
+ 'length' => 2.44,
274
+ 'evaporator_fan_pwr_per_length' => 21.143,
275
+ 'lighting_per_length' => 33,
276
+ 'lighting_sch_name' => 'RestaurantFastFood walkin_occ_lght_SCH',
277
+ 'defrost_pwr_per_length' => 1291.7,
278
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:1_WALKINFREEZER_WalkInStockingSched',
279
+ 'cop' => 1.5,
280
+ 'cop_f_of_t_curve_name' => 'RACK1_RackCOPfTCurve',
281
+ 'condenser_fan_pwr' => 330,
282
+ 'condenser_fan_pwr_curve_name' => 'RACK1_RackCondFanCurve2',
283
+ 'space_names' =>
278
284
  [
279
- 'Kitchen'
280
- ]
285
+ 'Kitchen'
286
+ ]
281
287
  },
282
288
  {
283
- 'type' => 'Refrigeration',
284
- 'case_type' => 'Display Case',
285
- 'cooling_capacity_per_length' => 734.0,
286
- 'length' => 3.05,
287
- 'evaporator_fan_pwr_per_length' => 18.857,
288
- 'lighting_per_length' => 33.0,
289
- 'lighting_sch_name' => 'RestaurantFastFood walkin_occ_lght_SCH',
290
- 'defrost_pwr_per_length' => 0.0,
291
- 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
292
- 'cop' => 3.0,
293
- 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
294
- 'condenser_fan_pwr' => 330,
295
- 'condenser_fan_pwr_curve_name' => nil,
296
- 'space_names' =>
289
+ 'type' => 'Refrigeration',
290
+ 'case_type' => 'Display Case',
291
+ 'cooling_capacity_per_length' => 734.0,
292
+ 'length' => 3.05,
293
+ 'evaporator_fan_pwr_per_length' => 18.857,
294
+ 'lighting_per_length' => 33.0,
295
+ 'lighting_sch_name' => 'RestaurantFastFood walkin_occ_lght_SCH',
296
+ 'defrost_pwr_per_length' => 0.0,
297
+ 'restocking_sch_name' => 'RestaurantFastFood Kitchen_Case:2_SELFCONTAINEDDISPLAYCASE_CaseStockingSched',
298
+ 'cop' => 3.0,
299
+ 'cop_f_of_t_curve_name' => 'RACK2_RackCOPfTCurve',
300
+ 'condenser_fan_pwr' => 330,
301
+ 'condenser_fan_pwr_curve_name' => nil,
302
+ 'space_names' =>
297
303
  [
298
- 'Kitchen'
299
- ]
304
+ 'Kitchen'
305
+ ]
300
306
  }
301
307
  ]
302
308
  end
@@ -343,7 +349,7 @@ class OpenStudio::Model::Model
343
349
  elsif building_vintage == '90.1-2007'
344
350
  case climate_zone
345
351
  when 'ASHRAE 169-2006-1A', 'ASHRAE 169-2006-2A', 'ASHRAE 169-2006-2B', 'ASHRAE 169-2006-3A', 'ASHRAE 169-2006-3B',
346
- 'ASHRAE 169-2006-3C', 'ASHRAE 169-2006-4A', 'ASHRAE 169-2006-4B', 'ASHRAE 169-2006-4C'
352
+ 'ASHRAE 169-2006-3C', 'ASHRAE 169-2006-4A', 'ASHRAE 169-2006-4B', 'ASHRAE 169-2006-4C'
347
353
  infiltration_per_zone_diningdoor = 0.902834611
348
354
  infiltration_diningdoor.setSchedule(add_schedule('RestaurantFastFood DOOR_INFIL_SCH'))
349
355
  else
@@ -440,14 +446,14 @@ class OpenStudio::Model::Model
440
446
  thermostat = self.getThermostatSetpointDualSetpointByName(thermostat_name).get
441
447
  case building_vintage
442
448
  when '90.1-2004', '90.1-2007', '90.1-2010'
443
- if climate_zone == 'ASHRAE 169-2006-2B' || climate_zone == 'ASHRAE 169-2006-1B' || climate_zone == 'ASHRAE 169-2006-3B'
444
- case space_name
445
- when 'Dining'
446
- thermostat.setCoolingSetpointTemperatureSchedule(add_schedule("RestaurantFastFood CLGSETP_SCH_NO_OPTIMUM"))
447
- when 'Kitchen'
448
- thermostat.setCoolingSetpointTemperatureSchedule(add_schedule("RestaurantFastFood CLGSETP_KITCHEN_SCH_NO_OPTIMUM"))
449
- end
450
- end
449
+ if climate_zone == 'ASHRAE 169-2006-2B' || climate_zone == 'ASHRAE 169-2006-1B' || climate_zone == 'ASHRAE 169-2006-3B'
450
+ case space_name
451
+ when 'Dining'
452
+ thermostat.setCoolingSetpointTemperatureSchedule(add_schedule("RestaurantFastFood CLGSETP_SCH_NO_OPTIMUM"))
453
+ when 'Kitchen'
454
+ thermostat.setCoolingSetpointTemperatureSchedule(add_schedule("RestaurantFastFood CLGSETP_KITCHEN_SCH_NO_OPTIMUM"))
455
+ end
456
+ end
451
457
  end
452
458
  end
453
459
  end
@@ -509,7 +515,7 @@ class OpenStudio::Model::Model
509
515
 
510
516
  def update_waterheater_loss_coefficient(building_vintage)
511
517
  case building_vintage
512
- when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013'
518
+ when '90.1-2004', '90.1-2007', '90.1-2010', '90.1-2013', 'NECB 2011'
513
519
  self.getWaterHeaterMixeds.sort.each do |water_heater|
514
520
  water_heater.setOffCycleLossCoefficienttoAmbientTemperature(7.561562668)
515
521
  water_heater.setOnCycleLossCoefficienttoAmbientTemperature(7.561562668)
@@ -517,6 +523,7 @@ class OpenStudio::Model::Model
517
523
  end
518
524
  end
519
525
 
526
+
520
527
  def custom_swh_tweaks(building_type, building_vintage, climate_zone, prototype_input)
521
528
 
522
529
  self.update_waterheater_loss_coefficient(building_vintage)