openstudio-analysis 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/openstudio/analysis/translator/excel.rb +55 -6
  3. data/lib/openstudio/analysis/version.rb +1 -1
  4. data/lib/openstudio-analysis.rb +1 -0
  5. data/spec/files/analysis/medium_office.json +220 -234
  6. data/spec/files/analysis/medium_office.zip +0 -0
  7. data/spec/files/export/analysis/Kats model v2.json +18 -19
  8. data/spec/files/export/analysis/Kats model v2.zip +0 -0
  9. data/spec/files/export/analysis/discrete_dynamic_seed.json +18 -19
  10. data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
  11. data/spec/files/export/analysis/discrete_seed.json +103 -109
  12. data/spec/files/export/analysis/discrete_seed.zip +0 -0
  13. data/spec/files/export/analysis/output_vars.json +95 -101
  14. data/spec/files/export/analysis/output_vars.zip +0 -0
  15. data/spec/files/export/analysis/small_seed.json +95 -101
  16. data/spec/files/export/analysis/small_seed.zip +0 -0
  17. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.68.xml +9 -0
  18. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.68.xml +9 -0
  19. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.68.xml +7 -0
  20. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.26.xml +19 -0
  21. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.10.xml +18 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.68.xml +20 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.34.xml +9 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.40.xml +9 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.20.xml +37 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.17.xml +21 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.68.xml +9 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.68.xml +9 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.68.xml +24 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.68.xml +9 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.17.xml +13 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.2.xml +20 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.3.xml +33 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.68.xml +7 -0
  35. metadata +38 -2
@@ -24,8 +24,8 @@
24
24
  "name": "space_type",
25
25
  "value": "*Entire Building*",
26
26
  "value_type": "choice",
27
- "uuid": "36e24e90-b199-0131-8e63-14109fdf0b37",
28
- "version_uuid": "36e25600-b199-0131-8e64-14109fdf0b37"
27
+ "uuid": "5e900a90-b2bf-0131-e595-14109fdf0b37",
28
+ "version_uuid": "5e902650-b2bf-0131-e596-14109fdf0b37"
29
29
  },
30
30
  {
31
31
  "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
@@ -33,8 +33,8 @@
33
33
  "name": "material_and_installation_cost",
34
34
  "value": 0.0,
35
35
  "value_type": "double",
36
- "uuid": "36e27500-b199-0131-8e66-14109fdf0b37",
37
- "version_uuid": "36e27a60-b199-0131-8e67-14109fdf0b37"
36
+ "uuid": "5e906b80-b2bf-0131-e598-14109fdf0b37",
37
+ "version_uuid": "5e909110-b2bf-0131-e599-14109fdf0b37"
38
38
  },
39
39
  {
40
40
  "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
@@ -42,8 +42,8 @@
42
42
  "name": "demolition_cost",
43
43
  "value": 0.0,
44
44
  "value_type": "double",
45
- "uuid": "36e28340-b199-0131-8e68-14109fdf0b37",
46
- "version_uuid": "36e28b60-b199-0131-8e69-14109fdf0b37"
45
+ "uuid": "5e90b0a0-b2bf-0131-e59a-14109fdf0b37",
46
+ "version_uuid": "5e90cd40-b2bf-0131-e59b-14109fdf0b37"
47
47
  },
48
48
  {
49
49
  "display_name": "Years Until Costs Start (whole years).",
@@ -51,8 +51,8 @@
51
51
  "name": "years_until_costs_start",
52
52
  "value": 0,
53
53
  "value_type": "integer",
54
- "uuid": "36e29730-b199-0131-8e6a-14109fdf0b37",
55
- "version_uuid": "36e29d60-b199-0131-8e6b-14109fdf0b37"
54
+ "uuid": "5e90ea80-b2bf-0131-e59c-14109fdf0b37",
55
+ "version_uuid": "5e910800-b2bf-0131-e59d-14109fdf0b37"
56
56
  },
57
57
  {
58
58
  "display_name": "Demolition Costs Occur During Initial Construction?",
@@ -60,8 +60,8 @@
60
60
  "name": "demo_cost_initial_const",
61
61
  "value": true,
62
62
  "value_type": "bool",
63
- "uuid": "36e2a840-b199-0131-8e6c-14109fdf0b37",
64
- "version_uuid": "36e2ae50-b199-0131-8e6d-14109fdf0b37"
63
+ "uuid": "5e9125e0-b2bf-0131-e59e-14109fdf0b37",
64
+ "version_uuid": "5e9140a0-b2bf-0131-e59f-14109fdf0b37"
65
65
  },
66
66
  {
67
67
  "display_name": "Expected Life (whole years).",
@@ -69,8 +69,8 @@
69
69
  "name": "expected_life",
70
70
  "value": 15,
71
71
  "value_type": "integer",
72
- "uuid": "36e2b960-b199-0131-8e6e-14109fdf0b37",
73
- "version_uuid": "36e2bea0-b199-0131-8e6f-14109fdf0b37"
72
+ "uuid": "5e915e80-b2bf-0131-e5a0-14109fdf0b37",
73
+ "version_uuid": "5e917ba0-b2bf-0131-e5a1-14109fdf0b37"
74
74
  },
75
75
  {
76
76
  "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
@@ -78,8 +78,8 @@
78
78
  "name": "om_cost",
79
79
  "value": 0.0,
80
80
  "value_type": "double",
81
- "uuid": "36e2c7a0-b199-0131-8e70-14109fdf0b37",
82
- "version_uuid": "36e2ccc0-b199-0131-8e71-14109fdf0b37"
81
+ "uuid": "5e9198c0-b2bf-0131-e5a2-14109fdf0b37",
82
+ "version_uuid": "5e91bd20-b2bf-0131-e5a3-14109fdf0b37"
83
83
  },
84
84
  {
85
85
  "display_name": "O & M Frequency (whole years).",
@@ -87,30 +87,29 @@
87
87
  "name": "om_frequency",
88
88
  "value": 1,
89
89
  "value_type": "integer",
90
- "uuid": "36e2d4f0-b199-0131-8e72-14109fdf0b37",
91
- "version_uuid": "36e2da00-b199-0131-8e73-14109fdf0b37"
90
+ "uuid": "5e91dcb0-b2bf-0131-e5a4-14109fdf0b37",
91
+ "version_uuid": "5e91f9d0-b2bf-0131-e5a5-14109fdf0b37"
92
92
  }
93
93
  ],
94
94
  "bcl_measure_directory": "./measures/reduce_lighting_loads_by_percentage",
95
- "measure_definition_directory_CHANGE_TO_ME": "./measures/reduce_lighting_loads_by_percentage",
96
- "bcl_measure_class_name_ADDME": "ReduceLightingLoadsByPercentage",
97
- "measure_definition_class_name_CHANGE_TO_ME": "ReduceLightingLoadsByPercentage",
95
+ "bcl_measure_class_name": "ReduceLightingLoadsByPercentage",
96
+ "bcl_measure_uuid": "5e8f4680-b2bf-0131-e58f-14109fdf0b37",
97
+ "bcl_measure_version_uuid": "5e8f6a80-b2bf-0131-e590-14109fdf0b37",
98
+ "measure_definition_directory": "./measures/reduce_lighting_loads_by_percentage",
98
99
  "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
99
- "bcl_measure_uuid": "36e1d260-b199-0131-8e5d-14109fdf0b37",
100
- "measure_definition_uuid_CHANGE_TO_ME": "36e21120-b199-0131-8e5e-14109fdf0b37",
101
- "bcl_measure_version_uuid": "36e22020-b199-0131-8e5f-14109fdf0b37",
102
- "measure_definition_version_uuid_CHANGE_TO_ME": "36e22c60-b199-0131-8e60-14109fdf0b37",
100
+ "measure_definition_uuid": "5e8f8930-b2bf-0131-e591-14109fdf0b37",
101
+ "measure_definition_version_uuid": "5e8fab40-b2bf-0131-e592-14109fdf0b37",
103
102
  "measure_type": "RubyMeasure",
104
103
  "name": "reduce_lighting_loads_by_percentage",
105
104
  "display_name": "Reduce Lighting Loads by Percentage",
106
- "uuid": "36e23610-b199-0131-8e61-14109fdf0b37",
105
+ "uuid": "5e8fca90-b2bf-0131-e593-14109fdf0b37",
107
106
  "variables": [
108
107
  {
109
108
  "argument": {
110
109
  "display_name": "Lighting Power Reduction",
111
110
  "machine_name": "lighting_power_reduction",
112
111
  "name": "lighting_power_reduction_percent",
113
- "uuid": "36e268c0-b199-0131-8e65-14109fdf0b37",
112
+ "uuid": "5e904860-b2bf-0131-e597-14109fdf0b37",
114
113
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
115
114
  },
116
115
  "display_name": "Lighting Power Reduction",
@@ -152,7 +151,7 @@
152
151
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
153
152
  }
154
153
  ],
155
- "version_uuid": "36e23e50-b199-0131-8e62-14109fdf0b37",
154
+ "version_uuid": "5e8fea80-b2bf-0131-e594-14109fdf0b37",
156
155
  "workflow_index": 0,
157
156
  "workflow_step_type": "Measure"
158
157
  },
@@ -164,8 +163,8 @@
164
163
  "name": "space_type",
165
164
  "value": "*Entire Building*",
166
165
  "value_type": "choice",
167
- "uuid": "36e30890-b199-0131-8e7a-14109fdf0b37",
168
- "version_uuid": "36e30de0-b199-0131-8e7b-14109fdf0b37"
166
+ "uuid": "5e92cd00-b2bf-0131-e5ac-14109fdf0b37",
167
+ "version_uuid": "5e92ea10-b2bf-0131-e5ad-14109fdf0b37"
169
168
  },
170
169
  {
171
170
  "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
@@ -173,8 +172,8 @@
173
172
  "name": "material_and_installation_cost",
174
173
  "value": 0.0,
175
174
  "value_type": "double",
176
- "uuid": "36e322e0-b199-0131-8e7d-14109fdf0b37",
177
- "version_uuid": "36e329c0-b199-0131-8e7e-14109fdf0b37"
175
+ "uuid": "5e932720-b2bf-0131-e5af-14109fdf0b37",
176
+ "version_uuid": "5e9342a0-b2bf-0131-e5b0-14109fdf0b37"
178
177
  },
179
178
  {
180
179
  "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
@@ -182,8 +181,8 @@
182
181
  "name": "om_cost",
183
182
  "value": 0.0,
184
183
  "value_type": "double",
185
- "uuid": "36e332f0-b199-0131-8e7f-14109fdf0b37",
186
- "version_uuid": "36e33870-b199-0131-8e80-14109fdf0b37"
184
+ "uuid": "5e936050-b2bf-0131-e5b1-14109fdf0b37",
185
+ "version_uuid": "5e937a00-b2bf-0131-e5b2-14109fdf0b37"
187
186
  },
188
187
  {
189
188
  "display_name": "O & M Frequency (whole years).",
@@ -191,30 +190,29 @@
191
190
  "name": "om_frequency",
192
191
  "value": 1,
193
192
  "value_type": "integer",
194
- "uuid": "36e340e0-b199-0131-8e81-14109fdf0b37",
195
- "version_uuid": "36e345d0-b199-0131-8e82-14109fdf0b37"
193
+ "uuid": "5e939a70-b2bf-0131-e5b3-14109fdf0b37",
194
+ "version_uuid": "5e93b6e0-b2bf-0131-e5b4-14109fdf0b37"
196
195
  }
197
196
  ],
198
197
  "bcl_measure_directory": "./measures/reduce_space_infiltration_by_percentage",
199
- "measure_definition_directory_CHANGE_TO_ME": "./measures/reduce_space_infiltration_by_percentage",
200
- "bcl_measure_class_name_ADDME": "ReduceSpaceInfiltrationByPercentage",
201
- "measure_definition_class_name_CHANGE_TO_ME": "ReduceSpaceInfiltrationByPercentage",
198
+ "bcl_measure_class_name": "ReduceSpaceInfiltrationByPercentage",
199
+ "bcl_measure_uuid": "5e921b10-b2bf-0131-e5a6-14109fdf0b37",
200
+ "bcl_measure_version_uuid": "5e923f40-b2bf-0131-e5a7-14109fdf0b37",
201
+ "measure_definition_directory": "./measures/reduce_space_infiltration_by_percentage",
202
202
  "measure_definition_class_name": "ReduceSpaceInfiltrationByPercentage",
203
- "bcl_measure_uuid": "36e2e580-b199-0131-8e74-14109fdf0b37",
204
- "measure_definition_uuid_CHANGE_TO_ME": "36e2eaa0-b199-0131-8e75-14109fdf0b37",
205
- "bcl_measure_version_uuid": "36e2efe0-b199-0131-8e76-14109fdf0b37",
206
- "measure_definition_version_uuid_CHANGE_TO_ME": "36e2f500-b199-0131-8e77-14109fdf0b37",
203
+ "measure_definition_uuid": "5e925890-b2bf-0131-e5a8-14109fdf0b37",
204
+ "measure_definition_version_uuid": "5e9276e0-b2bf-0131-e5a9-14109fdf0b37",
207
205
  "measure_type": "RubyMeasure",
208
206
  "name": "reducespaceinfiltrationbypercentage",
209
207
  "display_name": "ReduceSpaceInfiltrationByPercentage",
210
- "uuid": "36e2fa70-b199-0131-8e78-14109fdf0b37",
208
+ "uuid": "5e929410-b2bf-0131-e5aa-14109fdf0b37",
211
209
  "variables": [
212
210
  {
213
211
  "argument": {
214
212
  "display_name": "Space Infiltration Power Reduction",
215
213
  "machine_name": "space_infiltration_power_reduction",
216
214
  "name": "space_infiltration_reduction_percent",
217
- "uuid": "36e31950-b199-0131-8e7c-14109fdf0b37",
215
+ "uuid": "5e930a70-b2bf-0131-e5ae-14109fdf0b37",
218
216
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
219
217
  },
220
218
  "display_name": "Space Infiltration Power Reduction",
@@ -256,7 +254,7 @@
256
254
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
257
255
  }
258
256
  ],
259
- "version_uuid": "36e2ffc0-b199-0131-8e79-14109fdf0b37",
257
+ "version_uuid": "5e92ae80-b2bf-0131-e5ab-14109fdf0b37",
260
258
  "workflow_index": 1,
261
259
  "workflow_step_type": "Measure"
262
260
  },
@@ -268,30 +266,29 @@
268
266
  "name": "alter_design_days",
269
267
  "value": false,
270
268
  "value_type": "bool",
271
- "uuid": "36e39190-b199-0131-8e8b-14109fdf0b37",
272
- "version_uuid": "36e396f0-b199-0131-8e8c-14109fdf0b37"
269
+ "uuid": "5e94e190-b2bf-0131-e5bd-14109fdf0b37",
270
+ "version_uuid": "5e9501e0-b2bf-0131-e5be-14109fdf0b37"
273
271
  }
274
272
  ],
275
273
  "bcl_measure_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
276
- "measure_definition_directory_CHANGE_TO_ME": "./measures/adjust_theromstat_setpoints_by_degrees",
277
- "bcl_measure_class_name_ADDME": "AdjustTheromstatSetpointsByDegrees",
278
- "measure_definition_class_name_CHANGE_TO_ME": "AdjustTheromstatSetpointsByDegrees",
274
+ "bcl_measure_class_name": "AdjustTheromstatSetpointsByDegrees",
275
+ "bcl_measure_uuid": "5e93d6a0-b2bf-0131-e5b5-14109fdf0b37",
276
+ "bcl_measure_version_uuid": "5e93ef40-b2bf-0131-e5b6-14109fdf0b37",
277
+ "measure_definition_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
279
278
  "measure_definition_class_name": "AdjustTheromstatSetpointsByDegrees",
280
- "bcl_measure_uuid": "36e350d0-b199-0131-8e83-14109fdf0b37",
281
- "measure_definition_uuid_CHANGE_TO_ME": "36e355d0-b199-0131-8e84-14109fdf0b37",
282
- "bcl_measure_version_uuid": "36e35b30-b199-0131-8e85-14109fdf0b37",
283
- "measure_definition_version_uuid_CHANGE_TO_ME": "36e360c0-b199-0131-8e86-14109fdf0b37",
279
+ "measure_definition_uuid": "5e9409a0-b2bf-0131-e5b7-14109fdf0b37",
280
+ "measure_definition_version_uuid": "5e9426d0-b2bf-0131-e5b8-14109fdf0b37",
284
281
  "measure_type": "RubyMeasure",
285
282
  "name": "adjust_thermostat_setpoints_by_degrees",
286
283
  "display_name": "Adjust Thermostat Setpoints by Degrees",
287
- "uuid": "36e36810-b199-0131-8e87-14109fdf0b37",
284
+ "uuid": "5e944090-b2bf-0131-e5b9-14109fdf0b37",
288
285
  "variables": [
289
286
  {
290
287
  "argument": {
291
288
  "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
292
289
  "machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
293
290
  "name": "cooling_adjustment",
294
- "uuid": "36e379f0-b199-0131-8e89-14109fdf0b37",
291
+ "uuid": "5e9489c0-b2bf-0131-e5bb-14109fdf0b37",
295
292
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
296
293
  },
297
294
  "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
@@ -337,7 +334,7 @@
337
334
  "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
338
335
  "machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
339
336
  "name": "heating_adjustment",
340
- "uuid": "36e38760-b199-0131-8e8a-14109fdf0b37",
337
+ "uuid": "5e94b5b0-b2bf-0131-e5bc-14109fdf0b37",
341
338
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
342
339
  },
343
340
  "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
@@ -379,7 +376,7 @@
379
376
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
380
377
  }
381
378
  ],
382
- "version_uuid": "36e36db0-b199-0131-8e88-14109fdf0b37",
379
+ "version_uuid": "5e945ee0-b2bf-0131-e5ba-14109fdf0b37",
383
380
  "workflow_index": 2,
384
381
  "workflow_step_type": "Measure"
385
382
  },
@@ -391,8 +388,8 @@
391
388
  "name": "material_cost_increase_ip",
392
389
  "value": 0.0,
393
390
  "value_type": "double",
394
- "uuid": "36e3d660-b199-0131-8e94-14109fdf0b37",
395
- "version_uuid": "36e3dc30-b199-0131-8e95-14109fdf0b37"
391
+ "uuid": "5e9613f0-b2bf-0131-e5c6-14109fdf0b37",
392
+ "version_uuid": "5e9633a0-b2bf-0131-e5c7-14109fdf0b37"
396
393
  },
397
394
  {
398
395
  "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
@@ -400,8 +397,8 @@
400
397
  "name": "one_time_retrofit_cost_ip",
401
398
  "value": 0.0,
402
399
  "value_type": "double",
403
- "uuid": "36e3e4d0-b199-0131-8e96-14109fdf0b37",
404
- "version_uuid": "36e3ea50-b199-0131-8e97-14109fdf0b37"
400
+ "uuid": "5e965590-b2bf-0131-e5c8-14109fdf0b37",
401
+ "version_uuid": "5e967600-b2bf-0131-e5c9-14109fdf0b37"
405
402
  },
406
403
  {
407
404
  "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
@@ -409,30 +406,29 @@
409
406
  "name": "years_until_retrofit_cost",
410
407
  "value": 0,
411
408
  "value_type": "integer",
412
- "uuid": "36e3f350-b199-0131-8e98-14109fdf0b37",
413
- "version_uuid": "36e3f960-b199-0131-8e99-14109fdf0b37"
409
+ "uuid": "5e969d10-b2bf-0131-e5ca-14109fdf0b37",
410
+ "version_uuid": "5e96ce80-b2bf-0131-e5cb-14109fdf0b37"
414
411
  }
415
412
  ],
416
413
  "bcl_measure_directory": "./measures/increase_insulation_r_value_for_exterior_walls",
417
- "measure_definition_directory_CHANGE_TO_ME": "./measures/increase_insulation_r_value_for_exterior_walls",
418
- "bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForExteriorWalls",
419
- "measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForExteriorWalls",
414
+ "bcl_measure_class_name": "IncreaseInsulationRValueForExteriorWalls",
415
+ "bcl_measure_uuid": "5e952c80-b2bf-0131-e5bf-14109fdf0b37",
416
+ "bcl_measure_version_uuid": "5e954a10-b2bf-0131-e5c0-14109fdf0b37",
417
+ "measure_definition_directory": "./measures/increase_insulation_r_value_for_exterior_walls",
420
418
  "measure_definition_class_name": "IncreaseInsulationRValueForExteriorWalls",
421
- "bcl_measure_uuid": "36e3a1b0-b199-0131-8e8d-14109fdf0b37",
422
- "measure_definition_uuid_CHANGE_TO_ME": "36e3a770-b199-0131-8e8e-14109fdf0b37",
423
- "bcl_measure_version_uuid": "36e3af20-b199-0131-8e8f-14109fdf0b37",
424
- "measure_definition_version_uuid_CHANGE_TO_ME": "36e3b430-b199-0131-8e90-14109fdf0b37",
419
+ "measure_definition_uuid": "5e956a50-b2bf-0131-e5c1-14109fdf0b37",
420
+ "measure_definition_version_uuid": "5e958720-b2bf-0131-e5c2-14109fdf0b37",
425
421
  "measure_type": "RubyMeasure",
426
422
  "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
427
423
  "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
428
- "uuid": "36e3ba20-b199-0131-8e91-14109fdf0b37",
424
+ "uuid": "5e95abf0-b2bf-0131-e5c3-14109fdf0b37",
429
425
  "variables": [
430
426
  {
431
427
  "argument": {
432
428
  "display_name": "Wall R Value",
433
429
  "machine_name": "wall_r_value",
434
430
  "name": "r_value",
435
- "uuid": "36e3cca0-b199-0131-8e93-14109fdf0b37",
431
+ "uuid": "5e95f550-b2bf-0131-e5c5-14109fdf0b37",
436
432
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
437
433
  },
438
434
  "display_name": "Wall R Value",
@@ -474,7 +470,7 @@
474
470
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
475
471
  }
476
472
  ],
477
- "version_uuid": "36e3bf90-b199-0131-8e92-14109fdf0b37",
473
+ "version_uuid": "5e95d1b0-b2bf-0131-e5c4-14109fdf0b37",
478
474
  "workflow_index": 3,
479
475
  "workflow_step_type": "Measure"
480
476
  },
@@ -486,8 +482,8 @@
486
482
  "name": "material_cost_increase_ip",
487
483
  "value": 0.0,
488
484
  "value_type": "double",
489
- "uuid": "36e43630-b199-0131-8ea1-14109fdf0b37",
490
- "version_uuid": "36e43bf0-b199-0131-8ea2-14109fdf0b37"
485
+ "uuid": "5e989500-b2bf-0131-e5d3-14109fdf0b37",
486
+ "version_uuid": "5e98c9f0-b2bf-0131-e5d4-14109fdf0b37"
491
487
  },
492
488
  {
493
489
  "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
@@ -495,8 +491,8 @@
495
491
  "name": "one_time_retrofit_cost_ip",
496
492
  "value": 0.0,
497
493
  "value_type": "double",
498
- "uuid": "36e44440-b199-0131-8ea3-14109fdf0b37",
499
- "version_uuid": "36e44970-b199-0131-8ea4-14109fdf0b37"
494
+ "uuid": "5e990210-b2bf-0131-e5d5-14109fdf0b37",
495
+ "version_uuid": "5e9932a0-b2bf-0131-e5d6-14109fdf0b37"
500
496
  },
501
497
  {
502
498
  "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
@@ -504,30 +500,29 @@
504
500
  "name": "years_until_retrofit_cost",
505
501
  "value": 0,
506
502
  "value_type": "integer",
507
- "uuid": "36e451b0-b199-0131-8ea5-14109fdf0b37",
508
- "version_uuid": "36e456e0-b199-0131-8ea6-14109fdf0b37"
503
+ "uuid": "5e996870-b2bf-0131-e5d7-14109fdf0b37",
504
+ "version_uuid": "5e9996d0-b2bf-0131-e5d8-14109fdf0b37"
509
505
  }
510
506
  ],
511
507
  "bcl_measure_directory": "./measures/increase_insulation_r_value_for_roofs",
512
- "measure_definition_directory_CHANGE_TO_ME": "./measures/increase_insulation_r_value_for_roofs",
513
- "bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForRoofs",
514
- "measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForRoofs",
508
+ "bcl_measure_class_name": "IncreaseInsulationRValueForRoofs",
509
+ "bcl_measure_uuid": "5e9724c0-b2bf-0131-e5cc-14109fdf0b37",
510
+ "bcl_measure_version_uuid": "5e976a30-b2bf-0131-e5cd-14109fdf0b37",
511
+ "measure_definition_directory": "./measures/increase_insulation_r_value_for_roofs",
515
512
  "measure_definition_class_name": "IncreaseInsulationRValueForRoofs",
516
- "bcl_measure_uuid": "36e40540-b199-0131-8e9a-14109fdf0b37",
517
- "measure_definition_uuid_CHANGE_TO_ME": "36e40a90-b199-0131-8e9b-14109fdf0b37",
518
- "bcl_measure_version_uuid": "36e40fa0-b199-0131-8e9c-14109fdf0b37",
519
- "measure_definition_version_uuid_CHANGE_TO_ME": "36e414b0-b199-0131-8e9d-14109fdf0b37",
513
+ "measure_definition_uuid": "5e979fa0-b2bf-0131-e5ce-14109fdf0b37",
514
+ "measure_definition_version_uuid": "5e97cab0-b2bf-0131-e5cf-14109fdf0b37",
520
515
  "measure_type": "RubyMeasure",
521
516
  "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
522
517
  "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
523
- "uuid": "36e41980-b199-0131-8e9e-14109fdf0b37",
518
+ "uuid": "5e97ed70-b2bf-0131-e5d0-14109fdf0b37",
524
519
  "variables": [
525
520
  {
526
521
  "argument": {
527
522
  "display_name": "Roof R Value",
528
523
  "machine_name": "roof_r_value",
529
524
  "name": "r_value",
530
- "uuid": "36e42af0-b199-0131-8ea0-14109fdf0b37",
525
+ "uuid": "5e984870-b2bf-0131-e5d2-14109fdf0b37",
531
526
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
532
527
  },
533
528
  "display_name": "Roof R Value",
@@ -569,7 +564,7 @@
569
564
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
570
565
  }
571
566
  ],
572
- "version_uuid": "36e41e70-b199-0131-8e9f-14109fdf0b37",
567
+ "version_uuid": "5e9811f0-b2bf-0131-e5d1-14109fdf0b37",
573
568
  "workflow_index": 4,
574
569
  "workflow_step_type": "Measure"
575
570
  },
@@ -581,30 +576,29 @@
581
576
  "name": "space_type",
582
577
  "value": "*Entire Building*",
583
578
  "value_type": "choice",
584
- "uuid": "36e48a60-b199-0131-8ead-14109fdf0b37",
585
- "version_uuid": "36e48f80-b199-0131-8eae-14109fdf0b37"
579
+ "uuid": "5e9ae230-b2bf-0131-e5df-14109fdf0b37",
580
+ "version_uuid": "5e9b2b50-b2bf-0131-e5e0-14109fdf0b37"
586
581
  }
587
582
  ],
588
583
  "bcl_measure_directory": "./measures/reduce_ventilation_by_percentage",
589
- "measure_definition_directory_CHANGE_TO_ME": "./measures/reduce_ventilation_by_percentage",
590
- "bcl_measure_class_name_ADDME": "ReduceVentilationByPercentage",
591
- "measure_definition_class_name_CHANGE_TO_ME": "ReduceVentilationByPercentage",
584
+ "bcl_measure_class_name": "ReduceVentilationByPercentage",
585
+ "bcl_measure_uuid": "5e99d760-b2bf-0131-e5d9-14109fdf0b37",
586
+ "bcl_measure_version_uuid": "5e9a0070-b2bf-0131-e5da-14109fdf0b37",
587
+ "measure_definition_directory": "./measures/reduce_ventilation_by_percentage",
592
588
  "measure_definition_class_name": "ReduceVentilationByPercentage",
593
- "bcl_measure_uuid": "36e461b0-b199-0131-8ea7-14109fdf0b37",
594
- "measure_definition_uuid_CHANGE_TO_ME": "36e46820-b199-0131-8ea8-14109fdf0b37",
595
- "bcl_measure_version_uuid": "36e46f00-b199-0131-8ea9-14109fdf0b37",
596
- "measure_definition_version_uuid_CHANGE_TO_ME": "36e475c0-b199-0131-8eaa-14109fdf0b37",
589
+ "measure_definition_uuid": "5e9a25f0-b2bf-0131-e5db-14109fdf0b37",
590
+ "measure_definition_version_uuid": "5e9a4910-b2bf-0131-e5dc-14109fdf0b37",
597
591
  "measure_type": "RubyMeasure",
598
592
  "name": "reduce_ventilation_by_percentage",
599
593
  "display_name": "Reduce Ventilation By Percentage",
600
- "uuid": "36e47b60-b199-0131-8eab-14109fdf0b37",
594
+ "uuid": "5e9a7400-b2bf-0131-e5dd-14109fdf0b37",
601
595
  "variables": [
602
596
  {
603
597
  "argument": {
604
598
  "display_name": "Design Specification Outdoor Air Reduction (%).",
605
599
  "machine_name": "design_specification_outdoor_air_reduction_(%).",
606
600
  "name": "design_spec_outdoor_air_reduction_percent",
607
- "uuid": "36e49b20-b199-0131-8eaf-14109fdf0b37",
601
+ "uuid": "5e9b8650-b2bf-0131-e5e1-14109fdf0b37",
608
602
  "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
609
603
  },
610
604
  "display_name": "Design Specification Outdoor Air Reduction (%).",
@@ -646,7 +640,7 @@
646
640
  "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
647
641
  }
648
642
  ],
649
- "version_uuid": "36e48120-b199-0131-8eac-14109fdf0b37",
643
+ "version_uuid": "5e9aa380-b2bf-0131-e5de-14109fdf0b37",
650
644
  "workflow_index": 5,
651
645
  "workflow_step_type": "Measure"
652
646
  }
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::ServerApi create a new localhost instance" tests="1" time="0.006085" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:01-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.001134">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::ServerApi test not localhost" tests="1" time="0.001123" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:01-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000723">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000177" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:01-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.524262" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:05-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000221">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.121484">
6
+ </testcase>
7
+ <system-out>
8
+ Analysis name is Example Analysis
9
+ Adding measure item 'reduce_lighting_loads_by_percentage'
10
+ Adding measure item 'reducespaceinfiltrationbypercentage'
11
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
12
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
13
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
14
+ Adding measure item 'reduce_ventilation_by_percentage'
15
+ "{:name=&gt;\"discrete_seed\", :type=&gt;\"OSM\", :path=&gt;\"/Users/nlong/working/OpenStudio-analysis-gem/spec/files/small_seed.osm\"}"
16
+ </system-out>
17
+ <system-err>
18
+ </system-err>
19
+ </testsuite>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns" tests="2" time="0.38797" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:05-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should have parsed the spreadsheet" time="0.000382">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should save the file" time="0.030879">
6
+ </testcase>
7
+ <system-out>
8
+ {"variable_type"=&gt;"argument", "display_name"=&gt;"Baseline", "machine_name"=&gt;"baseline", "name"=&gt;"Baseline", "index"=&gt;1, "method"=&gt;"static", "type"=&gt;nil, "units"=&gt;nil, "distribution"=&gt;{"static_value"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
9
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Degrees Fahrenheit to Adjust Cooling Setpoint By.", "machine_name"=&gt;"degrees_fahrenheit_to_adjust_cooling_setpoint_by.", "name"=&gt;"cooling_adjustment", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;5.0, "mean"=&gt;5.0, "stddev"=&gt;nil, "discrete_values"=&gt;"[-2,0,2]", "discrete_weights"=&gt;"[0.33,0.33,0.33]", "type"=&gt;"discrete_uncertain", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
10
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Degrees Fahrenheit to Adjust heating Setpoint By.", "machine_name"=&gt;"degrees_fahrenheit_to_adjust_heating_setpoint_by.", "name"=&gt;"heating_adjustment", "index"=&gt;2, "method"=&gt;"lhs", "type"=&gt;"double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;5.0, "mean"=&gt;4.0, "stddev"=&gt;nil, "discrete_values"=&gt;"[-2,0,2]", "discrete_weights"=&gt;"[0.33,0.33,0.33]", "type"=&gt;"discrete_uncertain", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
11
+ {"variable_type"=&gt;"argument", "display_name"=&gt;"Alter Design Day Thermostats?", "machine_name"=&gt;"alter_design_day_thermostats?", "name"=&gt;"alter_design_days", "index"=&gt;3, "method"=&gt;"static", "type"=&gt;"bool", "units"=&gt;nil, "distribution"=&gt;{"enumerations"=&gt;["true", "false"], "static_value"=&gt;"FALSE", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
12
+ Analysis name is test_model
13
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
14
+ "{:name=&gt;\"discrete_dynamic_seed\", :type=&gt;\"OSM\", :path=&gt;\"/Users/nlong/working/OpenStudio-analysis-gem/spec/files/small_seed.osm\"}"
15
+ </system-out>
16
+ <system-err>
17
+ </system-err>
18
+ </testsuite>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.888701" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:01-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.192312">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.081917">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.280425">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.071624">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.2617">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007ff99e0396d0&gt;
15
+ Analysis name is Example Analysis
16
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
17
+ </system-out>
18
+ <system-err>
19
+ </system-err>
20
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel proxy setup with user" tests="1" time="0.413479" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:04-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000356">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel proxy setup" tests="1" time="0.352932" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:04-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000247">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup output variables" tests="7" time="0.726016" failures="0" errors="0" skipped="0" timestamp="2014-04-29T17:42:06-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000272">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000192">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000345">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000202">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000183">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.131567">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.114084">
16
+ </testcase>
17
+ <system-out>
18
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
19
+ Analysis name is Output Vars
20
+ Adding measure item 'reduce_lighting_loads_by_percentage'
21
+ Adding measure item 'reducespaceinfiltrationbypercentage'
22
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
23
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
24
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
25
+ Adding measure item 'reduce_ventilation_by_percentage'
26
+ Analysis name is Output Vars
27
+ Adding measure item 'reduce_lighting_loads_by_percentage'
28
+ Adding measure item 'reducespaceinfiltrationbypercentage'
29
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
30
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
31
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
32
+ Adding measure item 'reduce_ventilation_by_percentage'
33
+ "{:name=&gt;\"output_vars\", :type=&gt;\"OSM\", :path=&gt;\"/Users/nlong/working/OpenStudio-analysis-gem/spec/files/small_seed.osm\"}"
34
+ </system-out>
35
+ <system-err>
36
+ </system-err>
37
+ </testsuite>