openstudio-extension 0.7.1 → 0.8.0

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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +14 -0
  4. data/LICENSE.md +1 -1
  5. data/README.md +2 -0
  6. data/lib/openstudio/extension/runner.rb +12 -8
  7. data/lib/openstudio/extension/runner_config.rb +33 -6
  8. data/lib/openstudio/extension/version.rb +1 -1
  9. data/openstudio-extension.gemspec +6 -6
  10. metadata +15 -66
  11. data/lib/openstudio/extension/core/CreateResults.rb +0 -1033
  12. data/lib/openstudio/extension/core/check_air_sys_temps.rb +0 -160
  13. data/lib/openstudio/extension/core/check_calibration.rb +0 -125
  14. data/lib/openstudio/extension/core/check_cond_zns.rb +0 -54
  15. data/lib/openstudio/extension/core/check_domestic_hot_water.rb +0 -304
  16. data/lib/openstudio/extension/core/check_envelope_conductance.rb +0 -423
  17. data/lib/openstudio/extension/core/check_eui_by_end_use.rb +0 -132
  18. data/lib/openstudio/extension/core/check_eui_reasonableness.rb +0 -105
  19. data/lib/openstudio/extension/core/check_fan_pwr.rb +0 -68
  20. data/lib/openstudio/extension/core/check_internal_loads.rb +0 -363
  21. data/lib/openstudio/extension/core/check_mech_sys_capacity.rb +0 -196
  22. data/lib/openstudio/extension/core/check_mech_sys_efficiency.rb +0 -296
  23. data/lib/openstudio/extension/core/check_mech_sys_part_load_eff.rb +0 -434
  24. data/lib/openstudio/extension/core/check_mech_sys_type.rb +0 -109
  25. data/lib/openstudio/extension/core/check_part_loads.rb +0 -421
  26. data/lib/openstudio/extension/core/check_placeholder.rb +0 -45
  27. data/lib/openstudio/extension/core/check_plant_cap.rb +0 -93
  28. data/lib/openstudio/extension/core/check_plant_temps.rb +0 -129
  29. data/lib/openstudio/extension/core/check_plenum_loads.rb +0 -57
  30. data/lib/openstudio/extension/core/check_pump_pwr.rb +0 -78
  31. data/lib/openstudio/extension/core/check_sch_coord.rb +0 -211
  32. data/lib/openstudio/extension/core/check_schedules.rb +0 -281
  33. data/lib/openstudio/extension/core/check_simultaneous_heating_and_cooling.rb +0 -128
  34. data/lib/openstudio/extension/core/check_supply_air_and_thermostat_temp_difference.rb +0 -118
  35. data/lib/openstudio/extension/core/check_weather_files.rb +0 -102
  36. data/lib/openstudio/extension/core/deer_vintages.rb +0 -281
  37. data/lib/openstudio/extension/core/os_lib_aedg_measures.rb +0 -461
  38. data/lib/openstudio/extension/core/os_lib_constructions.rb +0 -353
  39. data/lib/openstudio/extension/core/os_lib_geometry.rb +0 -1169
  40. data/lib/openstudio/extension/core/os_lib_helper_methods.rb +0 -383
  41. data/lib/openstudio/extension/core/os_lib_hvac.rb +0 -2163
  42. data/lib/openstudio/extension/core/os_lib_lighting_and_equipment.rb +0 -184
  43. data/lib/openstudio/extension/core/os_lib_model_generation.rb +0 -3584
  44. data/lib/openstudio/extension/core/os_lib_model_simplification.rb +0 -1019
  45. data/lib/openstudio/extension/core/os_lib_outdoorair_and_infiltration.rb +0 -135
  46. data/lib/openstudio/extension/core/os_lib_reporting_qaqc.rb +0 -170
  47. data/lib/openstudio/extension/core/os_lib_schedules.rb +0 -933
@@ -1,281 +0,0 @@
1
- # *******************************************************************************
2
- # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
3
- # See also https://openstudio.net/license
4
- # *******************************************************************************
5
-
6
- # Maps the DEER vintages to year ranges
7
- module DEERVintages
8
- # Building type abbreviation to long name map
9
- def building_type_to_long
10
- return {
11
- 'Asm' => 'Assembly',
12
- 'DMo' => 'Residential Mobile Home',
13
- 'ECC' => 'Education - Community College',
14
- 'EPr' => 'Education - Primary School',
15
- 'ERC' => 'Education - Relocatable Classroom',
16
- 'ESe' => 'Education - Secondary School',
17
- 'EUn' => 'Education - University',
18
- 'GHs' => 'Greenhouse',
19
- 'Gro' => 'Grocery',
20
- 'Hsp' => 'Health/Medical - Hospital',
21
- 'Htl' => 'Lodging - Hotel',
22
- 'MBT' => 'Manufacturing Biotech',
23
- 'MFm' => 'Residential Multi-family',
24
- 'MLI' => 'Manufacturing Light Industrial',
25
- 'Mtl' => 'Lodging - Motel',
26
- 'Nrs' => 'Health/Medical - Nursing Home',
27
- 'OfL' => 'Office - Large',
28
- 'OfS' => 'Office - Small',
29
- 'RFF' => 'Restaurant - Fast-Food',
30
- 'RSD' => 'Restaurant - Sit-Down',
31
- 'Rt3' => 'Retail - Multistory Large',
32
- 'RtL' => 'Retail - Single-Story Large',
33
- 'RtS' => 'Retail - Small',
34
- 'SCn' => 'Storage - Conditioned',
35
- 'SFm' => 'Residential Single Family',
36
- 'SUn' => 'Storage - Unconditioned',
37
- 'WRf' => 'Warehouse - Refrigerated'
38
- }
39
- end
40
-
41
- # HVAC type abbreviation to long name map
42
- def hvac_sys_to_long
43
- return {
44
- 'DXGF' => 'Split or Packaged DX Unit with Gas Furnace',
45
- 'DXEH' => 'Split or Packaged DX Unit with Electric Heat',
46
- 'DXHP' => 'Split or Packaged DX Unit with Heat Pump',
47
- 'WLHP' => 'Water Loop Heat Pump',
48
- 'NCEH' => 'No Cooling with Electric Heat',
49
- 'NCGF' => 'No Cooling with Gas Furnace',
50
- 'PVVG' => 'Packaged VAV System with Gas Boiler',
51
- 'PVVE' => 'Packaged VAV System with Electric Heat',
52
- 'SVVG' => 'Built-Up VAV System with Gas Boiler',
53
- 'SVVE' => 'Built-Up VAV System with Electric Reheat',
54
- 'Unc' => 'No HVAC (Unconditioned)',
55
- 'PTAC' => 'Packaged Terminal Air Conditioner',
56
- 'PTHP' => 'Packaged Terminal Heat Pump',
57
- 'FPFC' => 'Four Pipe Fan Coil',
58
- 'DDCT' => 'Dual Duct System',
59
- 'EVAP' => 'Evaporative Cooling with Separate Gas Furnace'
60
- }
61
- end
62
-
63
- # Valid building type/hvac type combos
64
- def building_type_to_hvac_systems
65
- return {
66
- 'Asm' => [
67
- 'DXEH',
68
- 'DXGF',
69
- 'DXHP',
70
- 'NCEH',
71
- 'NCGF'
72
- ],
73
- 'ECC' => [
74
- 'DXEH',
75
- 'DXGF',
76
- 'DXHP',
77
- 'NCEH',
78
- 'NCGF',
79
- 'PVVE',
80
- 'PVVG',
81
- 'SVVE',
82
- 'SVVG',
83
- 'WLHP'
84
- ],
85
- 'EPr' => [
86
- 'DXEH',
87
- 'DXGF',
88
- 'DXHP',
89
- 'NCEH',
90
- 'NCGF',
91
- 'WLHP'
92
- ],
93
- 'ERC' => [
94
- 'DXEH',
95
- 'DXGF',
96
- 'DXHP',
97
- 'NCEH',
98
- 'NCGF'
99
- ],
100
- 'ESe' => [
101
- 'DXEH',
102
- 'DXGF',
103
- 'DXHP',
104
- 'NCEH',
105
- 'NCGF',
106
- 'PVVE',
107
- 'PVVG',
108
- 'SVVE',
109
- 'SVVG',
110
- 'WLHP'
111
- ],
112
- 'EUn' => [
113
- 'DXEH',
114
- 'DXGF',
115
- 'DXHP',
116
- 'NCEH',
117
- 'NCGF',
118
- 'PVVE',
119
- 'PVVG',
120
- 'SVVE',
121
- 'SVVG'
122
- ],
123
- 'Gro' => [
124
- 'DXEH',
125
- 'DXGF',
126
- 'DXHP',
127
- 'NCEH',
128
- 'NCGF'
129
- ],
130
- 'Hsp' => [
131
- 'DXEH',
132
- 'DXGF',
133
- 'DXHP',
134
- 'NCEH',
135
- 'NCGF',
136
- 'PVVE',
137
- 'PVVG',
138
- 'SVVE',
139
- 'SVVG'
140
- ],
141
- 'Nrs' => [
142
- 'DXEH',
143
- 'DXGF',
144
- 'DXHP',
145
- 'FPFC',
146
- 'NCEH',
147
- 'NCGF',
148
- 'PVVE',
149
- 'PVVG',
150
- 'SVVE',
151
- 'SVVG'
152
- ],
153
- 'Htl' => [
154
- 'DXEH',
155
- 'DXGF',
156
- 'DXHP',
157
- 'NCEH',
158
- 'NCGF',
159
- 'PVVE',
160
- 'PVVG',
161
- 'SVVE',
162
- 'SVVG',
163
- 'WLHP'
164
- ],
165
- 'Mtl' => [
166
- 'DXEH',
167
- 'DXGF',
168
- 'DXHP',
169
- 'NCEH',
170
- 'NCGF'
171
- ],
172
- 'MBT' => [
173
- 'DXEH',
174
- 'DXGF',
175
- 'DXHP',
176
- 'NCEH',
177
- 'NCGF',
178
- 'PVVE',
179
- 'PVVG',
180
- 'SVVE',
181
- 'SVVG',
182
- 'WLHP'
183
- ],
184
- 'MLI' => [
185
- 'DXEH',
186
- 'DXGF',
187
- 'DXHP',
188
- 'NCEH',
189
- 'NCGF'
190
- ],
191
- 'OfL' => [
192
- 'DXEH',
193
- 'DXGF',
194
- 'DXHP',
195
- 'NCEH',
196
- 'NCGF',
197
- 'PVVE',
198
- 'PVVG',
199
- 'SVVE',
200
- 'SVVG',
201
- 'WLHP'
202
- ],
203
- 'OfS' => [
204
- 'DXEH',
205
- 'DXGF',
206
- 'DXHP',
207
- 'NCEH',
208
- 'NCGF',
209
- 'PVVE',
210
- 'PVVG',
211
- 'SVVE',
212
- 'SVVG',
213
- 'WLHP'
214
- ],
215
- 'RFF' => [
216
- 'DXEH',
217
- 'DXGF',
218
- 'DXHP',
219
- 'NCEH',
220
- 'NCGF'
221
- ],
222
- 'RSD' => [
223
- 'DXEH',
224
- 'DXGF',
225
- 'DXHP',
226
- 'NCEH',
227
- 'NCGF'
228
- ],
229
- 'Rt3' => [
230
- 'DXEH',
231
- 'DXGF',
232
- 'DXHP',
233
- 'NCEH',
234
- 'NCGF',
235
- 'PVVE',
236
- 'PVVG',
237
- 'SVVE',
238
- 'SVVG',
239
- 'WLHP'
240
- ],
241
- 'RtL' => [
242
- 'DXEH',
243
- 'DXGF',
244
- 'DXHP',
245
- 'NCEH',
246
- 'NCGF'
247
- ],
248
- 'RtS' => [
249
- 'DXEH',
250
- 'DXGF',
251
- 'DXHP',
252
- 'NCEH',
253
- 'NCGF'
254
- ],
255
- 'SCn' => [
256
- 'DXEH',
257
- 'DXGF',
258
- 'DXHP',
259
- 'NCEH',
260
- 'NCGF'
261
- ],
262
- 'SUn' => ['Unc'],
263
- 'WRf' => ['DXGF']
264
- }
265
- end
266
-
267
- # Age range to DEER template
268
- def template_to_age_range
269
- return {
270
- 'DEER Pre-1975' => 'Before 1978',
271
- 'DEER 1985' => '1978-1992',
272
- 'DEER 1996' => '1993-2001',
273
- 'DEER 2003' => '2002-2005',
274
- 'DEER 2007' => '2006-2009',
275
- 'DEER 2011' => '2010-2013',
276
- 'DEER 2014' => '2014',
277
- 'DEER 2015' => '2015-2016',
278
- 'DEER 2017' => '2017 or Later'
279
- }
280
- end
281
- end