openstudio-analysis 0.4.3 → 0.4.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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +19 -0
  3. data/.rubocop.yml +135 -0
  4. data/.travis.yml +6 -0
  5. data/CHANGELOG.md +5 -0
  6. data/Gemfile +11 -0
  7. data/LGPL-2.1.txt +502 -0
  8. data/LICENSE.txt +65 -0
  9. data/README.md +1 -1
  10. data/lib/openstudio/analysis/formulation.rb +15 -8
  11. data/lib/openstudio/analysis/server_api.rb +4 -6
  12. data/lib/openstudio/analysis/translator/excel.rb +1 -1
  13. data/lib/openstudio/analysis/version.rb +1 -1
  14. data/openstudio-analysis.gemspec +33 -0
  15. data/rubocop-todo.yml +246 -0
  16. data/spec/files/measures/NoMeasureRbFile/.gitkeep +0 -0
  17. data/spec/openstudio/formulation_spec.rb +36 -0
  18. data/spec/openstudio/hash_spec.rb +21 -0
  19. data/spec/spec_helper.rb +3 -0
  20. metadata +53 -169
  21. data/lib/openstudio/templates/analysis.json.erb +0 -20
  22. data/lib/openstudio/templates/argument.json.erb +0 -7
  23. data/lib/openstudio/templates/discrete_uncertain_variable.json.erb +0 -41
  24. data/lib/openstudio/templates/pivot_variable.json.erb +0 -32
  25. data/lib/openstudio/templates/uncertain_variable.json.erb +0 -45
  26. data/lib/openstudio/templates/workflow_item.json.erb +0 -16
  27. data/spec/files/analysis/example_analysis_api.json +0 -656
  28. data/spec/files/analysis/lhs_discrete_and_continuous_variables_api.json +0 -1230
  29. data/spec/files/analysis/medium_office.json +0 -1736
  30. data/spec/files/analysis/medium_office.zip +0 -0
  31. data/spec/files/analysis/name_goes_here.json +0 -1752
  32. data/spec/files/analysis/name_goes_here.zip +0 -0
  33. data/spec/files/analysis/name_goes_here_api.json +0 -1681
  34. data/spec/files/analysis/output_vars_api.json +0 -632
  35. data/spec/files/analysis/preflight_api.json +0 -1518
  36. data/spec/files/analysis/simple_test_api.json +0 -519
  37. data/spec/files/analysis/test_model_api.json +0 -493
  38. data/spec/files/export/analysis/0_1_09_outputvars.json +0 -678
  39. data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
  40. data/spec/files/export/analysis/0_3_0_dynamic_uuids.json +0 -1490
  41. data/spec/files/export/analysis/0_3_0_dynamic_uuids.zip +0 -0
  42. data/spec/files/export/analysis/0_3_0_outputs.json +0 -1490
  43. data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
  44. data/spec/files/export/analysis/0_3_3_short_names.json +0 -1517
  45. data/spec/files/export/analysis/0_3_3_short_names.zip +0 -0
  46. data/spec/files/export/analysis/0_3_5_multiple_measure_paths.json +0 -1537
  47. data/spec/files/export/analysis/0_3_5_multiple_measure_paths.zip +0 -0
  48. data/spec/files/export/analysis/0_3_7_worker_init_final.json +0 -1537
  49. data/spec/files/export/analysis/0_3_7_worker_init_final.zip +0 -0
  50. data/spec/files/export/analysis/example_analysis.json +0 -727
  51. data/spec/files/export/analysis/example_analysis.zip +0 -0
  52. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables.json +0 -1298
  53. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables.zip +0 -0
  54. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.json +0 -1298
  55. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.zip +0 -0
  56. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.json +0 -1298
  57. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.zip +0 -0
  58. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.json +0 -1298
  59. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.zip +0 -0
  60. data/spec/files/export/analysis/pivot_test.json +0 -1323
  61. data/spec/files/export/analysis/pivot_test.zip +0 -0
  62. data/spec/files/export/analysis/simple_test.json +0 -551
  63. data/spec/files/export/analysis/simple_test.zip +0 -0
  64. data/spec/files/export/analysis/test_model.json +0 -524
  65. data/spec/files/export/analysis/test_model.zip +0 -0
  66. data/spec/files/export/weather/weather_out.epw +0 -32
  67. data/spec/files/export/weather/weather_out_appended.epw +0 -56
  68. data/spec/files/export/workflow/analysis.json +0 -22
  69. data/spec/files/measures/ActualMeasureNoJson/measure.json +0 -25
  70. data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +0 -77
  71. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +0 -5
  72. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +0 -5
  73. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +0 -3
  74. data/spec/reports/SPEC-OpenStudio-Analysis-SupportFiles.xml +0 -15
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +0 -31
  76. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +0 -24
  77. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +0 -11
  78. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +0 -5
  79. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +0 -5
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +0 -40
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +0 -11
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +0 -5
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +0 -5
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +0 -34
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +0 -5
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +0 -7
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +0 -28
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +0 -43
  89. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +0 -53
  90. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +0 -7
  91. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +0 -55
  92. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +0 -54
  93. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +0 -53
  94. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +0 -60
  95. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +0 -56
  96. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-multiple-seed-models.xml +0 -165
  97. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-pivot-test.xml +0 -60
  98. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +0 -3
  99. data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +0 -31
  100. data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +0 -23
  101. data/spec/reports/SPEC-OpenStudio-Weather-Epw.xml +0 -9
@@ -1,678 +0,0 @@
1
- {
2
- "analysis": {
3
- "display_name": "0_1_09_outputvars",
4
- "name": "0_1_09_outputvars",
5
- "output_variables": [
6
- {
7
- "units": "MJ/m2",
8
- "objective_function": true,
9
- "objective_function_index": 0,
10
- "objective_function_target": 462.1635,
11
- "objective_function_group": "TRUE",
12
- "scaling_factor": null,
13
- "display_name": "Heating Natural Gas",
14
- "display_name_short": "Heating Natural Gas",
15
- "metadata_id": null,
16
- "name": "heating_natural_gas"
17
- },
18
- {
19
- "units": "MJ/m3",
20
- "objective_function": true,
21
- "objective_function_index": 1,
22
- "objective_function_target": 84.16202,
23
- "objective_function_group": "TRUE",
24
- "scaling_factor": null,
25
- "display_name": "Cooling Electricity",
26
- "display_name_short": "Cooling Electricity",
27
- "metadata_id": null,
28
- "name": "Cooling Electricity"
29
- },
30
- {
31
- "units": "MJ/m4",
32
- "objective_function": true,
33
- "objective_function_index": 2,
34
- "objective_function_target": 121.9985,
35
- "objective_function_group": "TRUE",
36
- "scaling_factor": null,
37
- "display_name": "Interior Equipment Electricity",
38
- "display_name_short": "Interior Equipment Electricity",
39
- "metadata_id": null,
40
- "name": "Interior Equipment Electricity"
41
- },
42
- {
43
- "units": "MJ/m5",
44
- "objective_function": true,
45
- "objective_function_index": 3,
46
- "objective_function_target": 87.92142,
47
- "objective_function_group": "TRUE",
48
- "scaling_factor": null,
49
- "display_name": "Fans Electricity",
50
- "display_name_short": "Fans Electricity",
51
- "metadata_id": null,
52
- "name": "fans_electricity"
53
- }
54
- ],
55
- "problem": {
56
- "analysis_type": "nsga",
57
- "algorithm": {
58
- "sample_method": "all_variables",
59
- "number_of_samples": 100,
60
- "number_of_generations": 20,
61
- "objective_functions": [
62
- "heating_natural_gas",
63
- "Cooling Electricity",
64
- "Interior Equipment Electricity",
65
- "fans_electricity"
66
- ]
67
- },
68
- "workflow": [
69
- {
70
- "name": "reduce_lighting_loads_by_percentage",
71
- "display_name": "Reduce Lighting Loads by Percentage",
72
- "measure_type": "RubyMeasure",
73
- "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
74
- "measure_definition_directory": "./measures/reduce_lighting_loads_by_percentage",
75
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/reduce_lighting_loads_by_percentage",
76
- "measure_definition_display_name": "Reduce Lighting Loads by Percentage",
77
- "measure_definition_name": "reduce_lighting_loads_by_percentage",
78
- "measure_definition_name_xml": null,
79
- "measure_definition_uuid": "dd3bc855-0fe9-45e3-aba6-f1f248fab4d6",
80
- "measure_definition_version_uuid": "ee68b0bd-6066-441d-862c-dc31d2edc4dd",
81
- "arguments": [
82
- {
83
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
84
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
85
- "name": "space_type",
86
- "value_type": "string",
87
- "default_value": "*Entire Building*",
88
- "value": "*Entire Building*"
89
- },
90
- {
91
- "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
92
- "display_name_short": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
93
- "name": "material_and_installation_cost",
94
- "value_type": "double",
95
- "default_value": 0.0,
96
- "value": 0.0
97
- },
98
- {
99
- "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
100
- "display_name_short": "Increase in Demolition Costs for Lighting per Floor Area (%).",
101
- "name": "demolition_cost",
102
- "value_type": "double",
103
- "default_value": 0.0,
104
- "value": 0.0
105
- },
106
- {
107
- "display_name": "Years Until Costs Start (whole years).",
108
- "display_name_short": "Years Until Costs Start (whole years).",
109
- "name": "years_until_costs_start",
110
- "value_type": "integer",
111
- "default_value": 0,
112
- "value": 0
113
- },
114
- {
115
- "display_name": "Demolition Costs Occur During Initial Construction?",
116
- "display_name_short": "Demolition Costs Occur During Initial Construction?",
117
- "name": "demo_cost_initial_const",
118
- "value_type": "bool",
119
- "default_value": true,
120
- "value": true
121
- },
122
- {
123
- "display_name": "Expected Life (whole years).",
124
- "display_name_short": "Expected Life (whole years).",
125
- "name": "expected_life",
126
- "value_type": "integer",
127
- "default_value": 15,
128
- "value": 15
129
- },
130
- {
131
- "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
132
- "display_name_short": "Increase O & M Costs for Lighting per Floor Area (%).",
133
- "name": "om_cost",
134
- "value_type": "double",
135
- "default_value": 0.0,
136
- "value": 0.0
137
- },
138
- {
139
- "display_name": "O & M Frequency (whole years).",
140
- "display_name_short": "O & M Frequency (whole years).",
141
- "name": "om_frequency",
142
- "value_type": "integer",
143
- "default_value": 1,
144
- "value": 1
145
- }
146
- ],
147
- "variables": [
148
- {
149
- "argument": {
150
- "display_name": "Lighting Power Reduction",
151
- "display_name_short": "Lighting Power Reduction",
152
- "name": "lighting_power_reduction_percent",
153
- "value_type": "double",
154
- "default_value": 30.0,
155
- "value": 30.0
156
- },
157
- "display_name": "Lighting Power Reduction",
158
- "display_name_short": "Lighting Power Reduction",
159
- "variable_type": "variable",
160
- "units": null,
161
- "minimum": 0.0,
162
- "maximum": 50.0,
163
- "relation_to_output": null,
164
- "static_value": 30.0,
165
- "uuid": "61c59a25-ede1-45bc-a394-65fe032818cc",
166
- "version_uuid": "f730ebf3-62a3-4b97-86a0-0cec00b6f588",
167
- "variable": true,
168
- "uncertainty_description": {
169
- "type": "triangle_uncertain",
170
- "attributes": [
171
- {
172
- "name": "lower_bounds",
173
- "value": 0.0
174
- },
175
- {
176
- "name": "upper_bounds",
177
- "value": 50.0
178
- },
179
- {
180
- "name": "modes",
181
- "value": 40.0
182
- },
183
- {
184
- "name": "delta_x",
185
- "value": null
186
- },
187
- {
188
- "name": "stddev",
189
- "value": 8.333333333333334
190
- }
191
- ]
192
- },
193
- "workflow_index": 0
194
- }
195
- ],
196
- "workflow_index": 0
197
- },
198
- {
199
- "name": "reducespaceinfiltrationbypercentage",
200
- "display_name": "ReduceSpaceInfiltrationByPercentage",
201
- "measure_type": "RubyMeasure",
202
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
203
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
204
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
205
- "measure_definition_display_name": "ReduceSpaceInfiltrationByPercentage",
206
- "measure_definition_name": "reducespaceinfiltrationbypercentage",
207
- "measure_definition_name_xml": null,
208
- "measure_definition_uuid": "b53f8c47-591a-44aa-80fe-b709648bbadc",
209
- "measure_definition_version_uuid": "2c7ecec7-9e4e-4133-afff-b0512f717427",
210
- "arguments": [
211
- {
212
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
213
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
214
- "name": "space_type",
215
- "value_type": "string",
216
- "default_value": "*Entire Building*",
217
- "value": "*Entire Building*"
218
- },
219
- {
220
- "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
221
- "display_name_short": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
222
- "name": "material_and_installation_cost",
223
- "value_type": "double",
224
- "default_value": 0.0,
225
- "value": 0.0
226
- },
227
- {
228
- "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
229
- "display_name_short": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
230
- "name": "om_cost",
231
- "value_type": "double",
232
- "default_value": 0.0,
233
- "value": 0.0
234
- },
235
- {
236
- "display_name": "O & M Frequency (whole years).",
237
- "display_name_short": "O & M Frequency (whole years).",
238
- "name": "om_frequency",
239
- "value_type": "integer",
240
- "default_value": 1,
241
- "value": 1
242
- }
243
- ],
244
- "variables": [
245
- {
246
- "argument": {
247
- "display_name": "Space Infiltration Power Reduction",
248
- "display_name_short": "Space Infiltration Power Reduction",
249
- "name": "space_infiltration_reduction_percent",
250
- "value_type": "double",
251
- "default_value": 30.0,
252
- "value": 30.0
253
- },
254
- "display_name": "Space Infiltration Power Reduction",
255
- "display_name_short": "Space Infiltration Power Reduction",
256
- "variable_type": "variable",
257
- "units": null,
258
- "minimum": 0.0,
259
- "maximum": 30.0,
260
- "relation_to_output": null,
261
- "static_value": 30.0,
262
- "uuid": "116a41ea-48bd-46da-bb13-4ae3c56ae1fb",
263
- "version_uuid": "3c23b676-6d0e-4c3e-9adf-aeae9c2c00a1",
264
- "variable": true,
265
- "uncertainty_description": {
266
- "type": "uniform_uncertain",
267
- "attributes": [
268
- {
269
- "name": "lower_bounds",
270
- "value": 0.0
271
- },
272
- {
273
- "name": "upper_bounds",
274
- "value": 30.0
275
- },
276
- {
277
- "name": "modes",
278
- "value": 10.0
279
- },
280
- {
281
- "name": "delta_x",
282
- "value": null
283
- },
284
- {
285
- "name": "stddev",
286
- "value": 5.0
287
- }
288
- ]
289
- },
290
- "workflow_index": 0
291
- }
292
- ],
293
- "workflow_index": 1
294
- },
295
- {
296
- "name": "adjust_thermostat_setpoints_by_degrees",
297
- "display_name": "Adjust Thermostat Setpoints by Degrees",
298
- "measure_type": "RubyMeasure",
299
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
300
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
301
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
302
- "measure_definition_display_name": "Adjust Thermostat Setpoints by Degrees",
303
- "measure_definition_name": "adjust_thermostat_setpoints_by_degrees",
304
- "measure_definition_name_xml": null,
305
- "measure_definition_uuid": "09493c77-9797-4ac5-a37c-f043f0ce73fd",
306
- "measure_definition_version_uuid": "b143b32b-5d6d-4a6c-ab88-0b13a309dd4a",
307
- "arguments": [
308
- {
309
- "display_name": "Alter Design Day Thermostats?",
310
- "display_name_short": "Alter Design Day Thermostats?",
311
- "name": "alter_design_days",
312
- "value_type": "bool",
313
- "default_value": false,
314
- "value": false
315
- }
316
- ],
317
- "variables": [
318
- {
319
- "argument": {
320
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
321
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
322
- "name": "cooling_adjustment",
323
- "value_type": "double",
324
- "default_value": 1.0,
325
- "value": 1.0
326
- },
327
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
328
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
329
- "variable_type": "variable",
330
- "units": null,
331
- "minimum": -4.0,
332
- "maximum": 4.0,
333
- "relation_to_output": null,
334
- "static_value": 1.0,
335
- "uuid": "62df977e-7717-4e8a-8e7a-340fba137ed1",
336
- "version_uuid": "036c614b-b39c-48bc-8689-130c853e2017",
337
- "variable": true,
338
- "uncertainty_description": {
339
- "type": "uniform_uncertain",
340
- "attributes": [
341
- {
342
- "name": "lower_bounds",
343
- "value": -4.0
344
- },
345
- {
346
- "name": "upper_bounds",
347
- "value": 4.0
348
- },
349
- {
350
- "name": "modes",
351
- "value": 0.0
352
- },
353
- {
354
- "name": "delta_x",
355
- "value": null
356
- },
357
- {
358
- "name": "stddev",
359
- "value": 1.3333333333333333
360
- }
361
- ]
362
- },
363
- "workflow_index": 0
364
- },
365
- {
366
- "argument": {
367
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
368
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
369
- "name": "heating_adjustment",
370
- "value_type": "double",
371
- "default_value": -1.0,
372
- "value": -1.0
373
- },
374
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
375
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
376
- "variable_type": "variable",
377
- "units": null,
378
- "minimum": -4.0,
379
- "maximum": 4.0,
380
- "relation_to_output": null,
381
- "static_value": -1.0,
382
- "uuid": "8eed28e5-1939-4c44-8711-79fd6b799369",
383
- "version_uuid": "6236e77b-6348-4711-91a6-bb74ceff310b",
384
- "variable": true,
385
- "uncertainty_description": {
386
- "type": "uniform_uncertain",
387
- "attributes": [
388
- {
389
- "name": "lower_bounds",
390
- "value": -4.0
391
- },
392
- {
393
- "name": "upper_bounds",
394
- "value": 4.0
395
- },
396
- {
397
- "name": "modes",
398
- "value": 0.0
399
- },
400
- {
401
- "name": "delta_x",
402
- "value": null
403
- },
404
- {
405
- "name": "stddev",
406
- "value": 1.3333333333333333
407
- }
408
- ]
409
- },
410
- "workflow_index": 1
411
- }
412
- ],
413
- "workflow_index": 2
414
- },
415
- {
416
- "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
417
- "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
418
- "measure_type": "RubyMeasure",
419
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
420
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
421
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
422
- "measure_definition_display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
423
- "measure_definition_name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
424
- "measure_definition_name_xml": null,
425
- "measure_definition_uuid": "82457a6f-471a-4515-8017-6756c0015708",
426
- "measure_definition_version_uuid": "d62e42a1-039c-42b6-8922-3dac93a806fa",
427
- "arguments": [
428
- {
429
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
430
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
431
- "name": "material_cost_increase_ip",
432
- "value_type": "double",
433
- "default_value": 0.0,
434
- "value": 0.0
435
- },
436
- {
437
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
438
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
439
- "name": "one_time_retrofit_cost_ip",
440
- "value_type": "double",
441
- "default_value": 0.0,
442
- "value": 0.0
443
- },
444
- {
445
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
446
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
447
- "name": "years_until_retrofit_cost",
448
- "value_type": "integer",
449
- "default_value": 0,
450
- "value": 0
451
- }
452
- ],
453
- "variables": [
454
- {
455
- "argument": {
456
- "display_name": "Wall R Value",
457
- "display_name_short": "Wall R Value",
458
- "name": "r_value",
459
- "value_type": "double",
460
- "default_value": 5.0,
461
- "value": 5.0
462
- },
463
- "display_name": "Wall R Value",
464
- "display_name_short": "Wall R Value",
465
- "variable_type": "variable",
466
- "units": null,
467
- "minimum": 0.0,
468
- "maximum": 5.0,
469
- "relation_to_output": null,
470
- "static_value": 5.0,
471
- "uuid": "28d1db3b-5bae-44ee-bd56-5c89138bb828",
472
- "version_uuid": "be9a4bad-74dc-4f02-aa86-90bcd86585fb",
473
- "variable": true,
474
- "uncertainty_description": {
475
- "type": "triangle_uncertain",
476
- "attributes": [
477
- {
478
- "name": "lower_bounds",
479
- "value": 0.0
480
- },
481
- {
482
- "name": "upper_bounds",
483
- "value": 5.0
484
- },
485
- {
486
- "name": "modes",
487
- "value": 2.5
488
- },
489
- {
490
- "name": "delta_x",
491
- "value": null
492
- },
493
- {
494
- "name": "stddev",
495
- "value": 0.8333333333333334
496
- }
497
- ]
498
- },
499
- "workflow_index": 0
500
- }
501
- ],
502
- "workflow_index": 3
503
- },
504
- {
505
- "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
506
- "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
507
- "measure_type": "RubyMeasure",
508
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
509
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
510
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
511
- "measure_definition_display_name": "Set R-value of Insulation for Roofs to a Specific Value",
512
- "measure_definition_name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
513
- "measure_definition_name_xml": null,
514
- "measure_definition_uuid": "e1a5dac2-472c-4f55-b45b-db8456fb2bd4",
515
- "measure_definition_version_uuid": "42a9cd59-128e-4a24-a19b-1ff81130f109",
516
- "arguments": [
517
- {
518
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
519
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
520
- "name": "material_cost_increase_ip",
521
- "value_type": "double",
522
- "default_value": 0.0,
523
- "value": 0.0
524
- },
525
- {
526
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
527
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
528
- "name": "one_time_retrofit_cost_ip",
529
- "value_type": "double",
530
- "default_value": 0.0,
531
- "value": 0.0
532
- },
533
- {
534
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
535
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
536
- "name": "years_until_retrofit_cost",
537
- "value_type": "integer",
538
- "default_value": 0,
539
- "value": 0
540
- }
541
- ],
542
- "variables": [
543
- {
544
- "argument": {
545
- "display_name": "Roof R Value",
546
- "display_name_short": "Roof R Value",
547
- "name": "r_value",
548
- "value_type": "double",
549
- "default_value": 5.0,
550
- "value": 5.0
551
- },
552
- "display_name": "Roof R Value",
553
- "display_name_short": "Roof R Value",
554
- "variable_type": "variable",
555
- "units": null,
556
- "minimum": 0.0,
557
- "maximum": 5.0,
558
- "relation_to_output": null,
559
- "static_value": 5.0,
560
- "uuid": "3c2298d5-52e4-42f5-bda5-241fe927e2ab",
561
- "version_uuid": "5bf9f7e9-5a42-431d-8fa8-f0d1bafed8e2",
562
- "variable": true,
563
- "uncertainty_description": {
564
- "type": "triangle_uncertain",
565
- "attributes": [
566
- {
567
- "name": "lower_bounds",
568
- "value": 0.0
569
- },
570
- {
571
- "name": "upper_bounds",
572
- "value": 5.0
573
- },
574
- {
575
- "name": "modes",
576
- "value": 2.5
577
- },
578
- {
579
- "name": "delta_x",
580
- "value": null
581
- },
582
- {
583
- "name": "stddev",
584
- "value": 0.8333333333333334
585
- }
586
- ]
587
- },
588
- "workflow_index": 0
589
- }
590
- ],
591
- "workflow_index": 4
592
- },
593
- {
594
- "name": "reduce_ventilation_by_percentage",
595
- "display_name": "Reduce Ventilation By Percentage",
596
- "measure_type": "RubyMeasure",
597
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
598
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
599
- "measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
600
- "measure_definition_display_name": "Reduce Ventilation By Percentage",
601
- "measure_definition_name": "reduce_ventilation_by_percentage",
602
- "measure_definition_name_xml": null,
603
- "measure_definition_uuid": "8ca9f686-93f9-402a-9d03-d42d365e4c87",
604
- "measure_definition_version_uuid": "899ba828-c604-4745-a580-db4ee69ccb30",
605
- "arguments": [
606
- {
607
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
608
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
609
- "name": "space_type",
610
- "value_type": "string",
611
- "default_value": "*Entire Building*",
612
- "value": "*Entire Building*"
613
- }
614
- ],
615
- "variables": [
616
- {
617
- "argument": {
618
- "display_name": "Design Specification Outdoor Air Reduction (%).",
619
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
620
- "name": "design_spec_outdoor_air_reduction_percent",
621
- "value_type": "double",
622
- "default_value": 0.0,
623
- "value": 0.0
624
- },
625
- "display_name": "Design Specification Outdoor Air Reduction (%).",
626
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
627
- "variable_type": "variable",
628
- "units": null,
629
- "minimum": 0.0,
630
- "maximum": 90.0,
631
- "relation_to_output": null,
632
- "static_value": 0.0,
633
- "uuid": "b3f5b348-0797-4acd-b556-579d7fe8b3d6",
634
- "version_uuid": "11b80795-c06a-4e41-9a66-f23c9993ffaf",
635
- "variable": true,
636
- "uncertainty_description": {
637
- "type": "triangle_uncertain",
638
- "attributes": [
639
- {
640
- "name": "lower_bounds",
641
- "value": 0.0
642
- },
643
- {
644
- "name": "upper_bounds",
645
- "value": 90.0
646
- },
647
- {
648
- "name": "modes",
649
- "value": 20.0
650
- },
651
- {
652
- "name": "delta_x",
653
- "value": null
654
- },
655
- {
656
- "name": "stddev",
657
- "value": 15.0
658
- }
659
- ]
660
- },
661
- "workflow_index": 0
662
- }
663
- ],
664
- "workflow_index": 5
665
- }
666
- ]
667
- },
668
- "seed": {
669
- "file_type": "OSM",
670
- "path": "./seed/small_seed.osm"
671
- },
672
- "weather_file": {
673
- "file_type": "EPW",
674
- "path": "./weather/partial_weather.epw"
675
- },
676
- "file_format_version": 1
677
- }
678
- }